From 7b44ce4deebc812e4fb978358d04cb0af15c44cd Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 13 Jun 2015 10:05:18 -0700 Subject: [PATCH] Site updated at 2015-06-13 17:05:18 UTC --- atom.xml | 2 +- blog/categories/architecture/atom.xml | 2 +- blog/categories/branding/atom.xml | 2 +- blog/categories/component/atom.xml | 2 +- blog/categories/core/atom.xml | 2 +- blog/categories/frontend/atom.xml | 2 +- blog/categories/release-notes/atom.xml | 2 +- blog/categories/website/atom.xml | 2 +- components/automation.html | 33 +++--- sitemap.xml | 148 ++++++++++++------------- 10 files changed, 102 insertions(+), 95 deletions(-) diff --git a/atom.xml b/atom.xml index 66a1705473..0bbc251db6 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 https://home-assistant.io/ diff --git a/blog/categories/architecture/atom.xml b/blog/categories/architecture/atom.xml index 03bdef3206..208b05ff06 100644 --- a/blog/categories/architecture/atom.xml +++ b/blog/categories/architecture/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: architecture | Home Assistant]]> - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 https://home-assistant.io/ diff --git a/blog/categories/branding/atom.xml b/blog/categories/branding/atom.xml index 5522c23dd5..c052afada4 100644 --- a/blog/categories/branding/atom.xml +++ b/blog/categories/branding/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: branding | Home Assistant]]> - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 https://home-assistant.io/ diff --git a/blog/categories/component/atom.xml b/blog/categories/component/atom.xml index f10275dc76..5c66cbc01b 100644 --- a/blog/categories/component/atom.xml +++ b/blog/categories/component/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: component | Home Assistant]]> - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 https://home-assistant.io/ diff --git a/blog/categories/core/atom.xml b/blog/categories/core/atom.xml index 356e40ecd0..2c30349948 100644 --- a/blog/categories/core/atom.xml +++ b/blog/categories/core/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: core | Home Assistant]]> - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 https://home-assistant.io/ diff --git a/blog/categories/frontend/atom.xml b/blog/categories/frontend/atom.xml index dd3d5b0bbd..aa8007280e 100644 --- a/blog/categories/frontend/atom.xml +++ b/blog/categories/frontend/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: frontend | Home Assistant]]> - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 30d7e3c9e4..7b7eaa626e 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: release-notes | Home Assistant]]> - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index a35e114b9e..89284c84af 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: website | Home Assistant]]> - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 https://home-assistant.io/ diff --git a/components/automation.html b/components/automation.html index 808743c8a3..6b909d7647 100644 --- a/components/automation.html +++ b/components/automation.html @@ -128,8 +128,8 @@ # Type of trigger and information for the trigger platform: state state_entity_id: sun.sun - state_from: above_horizon - state_to: below_horizon + state_from: 'above_horizon' + state_to: 'below_horizon' # Action to be done when trigger activated execute_service: notify.notify @@ -187,23 +187,30 @@ 15 16 17 -
# Match when the sun sets
+
  # Match when the sun sets
   platform: state
   state_entity_id: sun.sun
-  state_from: above_horizon
-  state_to: below_horizon
+  state_from: 'above_horizon'
+  state_to: 'below_horizon'
 
   # Match when a person comes home
   platform: state
   state_entity_id: device_tracker.Paulus_OnePlus_One
-  state_from: not_home
-  state_to: home
+  state_from: 'not_home'
+  state_to: 'home'
 
   # Match when a light turns on
   platform: state
   state_entity_id: light.Ceiling
-  state_from: off
-  state_to: on
+
state_from: 'off' + state_to: 'on' + + + + +

+ Use quotes around your values for state_from and state_to to avoid the YAML parser interpreting some values as booleans. +

Setting up the action

@@ -276,8 +283,8 @@ platform: state state_entity_id: sun.sun - state_from: above_horizon - state_to: below_horizon + state_from: 'above_horizon' + state_to: 'below_horizon' execute_service: notify.notify service_data: {"message":"The sun has set"} @@ -297,8 +304,8 @@ platform: state state_entity_id: device_tracker.Paulus_OnePlus - state_from: not_home - state_to: home + state_from: 'not_home' + state_to: 'home' execute_service: homeassistant.turn_on service_entity_id: group.Study_Room diff --git a/sitemap.xml b/sitemap.xml index d448a95fb2..016b65a8dc 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -82,445 +82,445 @@ https://home-assistant.io/developers/add_new_platform.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/getting-started/android.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/developers/api.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/developers/architecture.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/automation.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/browser.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/getting-started/configuration.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/configurator.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/conversation.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/developers/creating_components.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/device_sun_light_trigger.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/device_tracker.ddwrt.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/device_tracker.luci.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/device_tracker.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/device_tracker.netgear.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/device_tracker.nmap_scanner.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/device_tracker.tomato.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/discovery.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/downloader.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/developers/frontend.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/group.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/history.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/blog/ - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/ - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 1.0 https://home-assistant.io/blog/archives/ - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/ - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/developers/ - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/getting-started/ - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/isy994.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/keyboard.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/light.hue.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/light.limitlessled.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/light.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/logbook.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/media_player.cast.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/media_player.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/media_player.mpd.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/modbus.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/notify.instapush.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/notify.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/notify.nma.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/notify.pushbullet.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/notify.pushover.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/notify.smtp.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/notify.syslog.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/notify.xmpp.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/developers/python_api.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/developers/rest_api.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/scene.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/scheduler.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/script.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/sensor.bitcoin.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/sensor.mysensors.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/sensor.openweathermap.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/sensor.sabnzbd.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/sensor.swiss_public_transport.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/sensor.systemmonitor.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/sensor.time_date.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/sensor.transmission.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/simple_alarm.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/sun.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/switch.command_switch.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/switch.hikvision.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/switch.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/switch.transmission.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/switch.wemo.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/tellstick.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/thermostat.heat_control.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/thermostat.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/thermostat.nest.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/getting-started/troubleshooting.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/vera.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/wink.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7 https://home-assistant.io/components/zwave.html - 2015-06-11T00:34:16-07:00 + 2015-06-13T10:05:09-07:00 weekly 0.7