diff --git a/atom.xml b/atom.xml index 29df45752b..8464635f49 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
In this section you will find some real life examples of how to use this cover.
This example converts a garage door with a controllable switch and position sensor into a cover.
-cover:
+
+cover:
- platform: template
covers:
garage_door:
@@ -133,7 +134,107 @@
service: switch.turn_on
entity_id: switch.garage_door
icon_template: "{% if not is_state('sensor.garage_door', 'on') %}mdi:garage-open{% else %}mdi:garage{% endif %}"
+
+
+ Multi Covers
+This example allows you to control two or more covers at once.
+
+homeassistant:
+ customize:
+ all_covers:
+ assume_state: true
+cover:
+ - platform: template
+ covers:
+ all_covers:
+ friendly_name: 'All Covers'
+ open_cover:
+ service: script.cover_all_open
+ close_cover:
+ service: script.cover_all_close
+ stop_cover:
+ service: script.cover_all_stop
+ set_cover_position:
+ service: script.cover_all_set_position
+ data_template:
+ position: "{{ position }}"
+ value_template: >
+ {% if is_state('sensor.all_covers', 'open') %}
+ open
+ {% else %}
+ closed
+ {% endif %}
+
+ icon_template: >
+ {% if is_state('sensor.all_covers', 'open') %}
+ mdi:window-open
+ {% else %}
+ mdi:window-closed
+ {% endif %}
+
+ entity_id:
+ - cover.bedroom
+ - cover.livingroom
+
+sensor:
+ - platform: template
+ sensors:
+ all_covers:
+ value_template: >
+ {% if is_state('cover.bedroom', 'open') %}
+ open
+ {% elif is_state('cover.livingroom', 'open') %}
+ open
+ {% else %}
+ closed
+ {% endif %}
+
+ entity_id:
+ - cover.bedroom
+ - cover.livingroom
+
+script:
+ cover_all_open:
+ sequence:
+ - service: cover.open_cover
+ entity_id: cover.bedroom
+ - service: cover.open_cover
+ entity_id: cover.livingroom
+ cover_all_stop:
+ sequence:
+ - service: cover.stop_cover
+ entity_id: cover.bedroom
+ - service: cover.stop_cover
+ entity_id: cover.livingroom
+ cover_all_close:
+ sequence:
+ - service: cover.close_cover
+ entity_id: cover.bedroom
+ - service: cover.close_cover
+ entity_id: cover.livingroom
+ cover_all_set_position:
+ sequence:
+ - service: cover.set_cover_position
+ entity_id: cover.bedroom
+ data_template:
+ position: "{{ position }}"
+ - service: cover.set_cover_position
+ entity_id: cover.livingroom
+ data_template:
+ position: "{{ position }}"
+
+automation:
+ - alias: 'Close covers at night'
+ trigger:
+ - platform: sun
+ event: sunset
+ offset: '+00:30:00'
+ action:
+ service: cover.set_cover_position
+ entity_id: cover.all_covers
+ data_template:
+ position: 25
diff --git a/cookbook/automation_sun/index.html b/cookbook/automation_sun/index.html
index fa1f908af2..fa8b7962fa 100644
--- a/cookbook/automation_sun/index.html
+++ b/cookbook/automation_sun/index.html
@@ -90,7 +90,7 @@
Note, Philips Hue is currently the only light platform that support transitions.
+Note, Philips Hue and LIFX are currently the only light platforms that support transitions.
automation:
trigger:
platform: time
diff --git a/developers/hassio/debugging/index.html b/developers/hassio/debugging/index.html
index 210881c3a3..4f6c64134c 100644
--- a/developers/hassio/debugging/index.html
+++ b/developers/hassio/debugging/index.html
@@ -87,6 +87,10 @@ This section is not for users. Use the SSH add-on to
Make sure when you are copying the public key to the root of the /boot partition of the SD card that you rename the file correctly with no .pub
file extension.
+You should then be able to SSH into your Hass.io device. On mac/linux, use:
+ssh root@hassio.local -p 22222
+
+
Checking the logs
# Logs from the supervisor service on the Host OS
journalctl -f -u resin-supervisor.service
diff --git a/sitemap.xml b/sitemap.xml
index d2e79b60d6..ab233a2b55 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -3214,7 +3214,7 @@
https://home-assistant.io/components/switch.hook/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/cookbook/automation_for_rainy_days/
@@ -3838,99 +3838,99 @@
https://home-assistant.io/docs/autostart/init.d/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/api/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/configuration/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/installation/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/operation/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/reboot/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/running/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/updating/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/windows/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/certificates/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/hadashboard/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/hass-configurator/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/ios/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/nginx/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/notebooks/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/scenegen/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/ecosystem/synology/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/tools/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/tools/dev-tools/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/tools/hass/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/docs/tools/scripts/
-2017-08-26T20:29:07+00:00
+2017-08-26T22:06:59+00:00
https://home-assistant.io/faq/after-upgrading/
@@ -4926,62 +4926,62 @@
https://home-assistant.io/demo/frontend.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00
https://home-assistant.io/demo/index.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00
https://home-assistant.io/static/mdi-demo.html
-2017-08-26T20:28:14+00:00
+2017-08-26T22:06:07+00:00