diff --git a/atom.xml b/atom.xml index 48f02a722f..76edd860ce 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/announcements/atom.xml b/blog/categories/announcements/atom.xml index 762dd9a608..6558b8383a 100644 --- a/blog/categories/announcements/atom.xml +++ b/blog/categories/announcements/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Announcements | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 8e19554c4c..fb7afebad5 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 3101767c16..ac8126413a 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 9185724745..903a41a322 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index a7c2abbbfa..a61c6e37c9 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index a2c6b4516c..b569c7994b 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index 19b5248fdd..5e9045faf3 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index f7971e5f3a..98a50dc94d 100644 --- a/blog/categories/iot-data/atom.xml +++ b/blog/categories/iot-data/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: IoT-Data | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/media/atom.xml b/blog/categories/media/atom.xml index b2634467ad..b334d66e38 100644 --- a/blog/categories/media/atom.xml +++ b/blog/categories/media/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Media | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index 4a352db925..6701e77c93 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 54cef8513c..8773061189 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 9f9b81f204..ee8bc3247c 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/organization/atom.xml b/blog/categories/organization/atom.xml index c98a57624f..bd950f46a1 100644 --- a/blog/categories/organization/atom.xml +++ b/blog/categories/organization/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organization | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 673bd14174..a8bb7c92be 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index b8637f5e51..9601646083 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 73df525e82..cf96431f0c 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 2963d51a81..b50630e510 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]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index d82bdf1198..0cfd503496 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 9501b9126c..4f678f94db 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 1e139b6fa6..1e4ce62f09 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 141bc736e0..82a83381d7 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 3a419538be..1cafe564b4 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 51b64509db..ad31446a59 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2018-01-25T18:50:24+00:00 + 2018-01-25T20:15:01+00:00 https://home-assistant.io/ diff --git a/docs/scripts/index.html b/docs/scripts/index.html index b4496c0e16..73a3e60eb2 100644 --- a/docs/scripts/index.html +++ b/docs/scripts/index.html @@ -163,26 +163,26 @@

Raise and Consume Custom Events

The following automation shows how to raise a custom event called event_light_turned_on with entity_id as the event data. The action part could be inside a script or an automation.

-
- alias: Fire Event
-  trigger:
-    platform: state
-    entity_id: light.kitchen
-    to: 'on'
-  action:
-    event: event_light_turned_on
-    event_data:
-      entity_id: ""
+
- alias: Fire Event
+  trigger:
+    platform: state
+    entity_id: light.kitchen
+    to: 'on'
+  action:
+    event: event_light_turned_on
+    event_data:
+      entity_id: "{{ trigger.entity_id }}"
 

The following automation shows how to capture the custom event event_light_turned_on, and retrieve corresponsing entity_id that was passed as the event data.

-
- alias: Capture Event
-  trigger:
-    platform: event
-    event_type: light_turned_on
-  action:
-    - service: notify.notify
-      data_template:
-        message: " is turned on."
+
- alias: Capture Event
+  trigger:
+    platform: event
+    event_type: light_turned_on
+  action:
+    - service: notify.notify
+      data_template:
+        message: " is turned on."
 
diff --git a/sitemap.xml b/sitemap.xml index 552022b5b3..61a1d22582 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -3910,7 +3910,7 @@ https://home-assistant.io/components/switch.hook/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/cookbook/automation_for_rainy_days/ @@ -4594,99 +4594,99 @@ https://home-assistant.io/docs/autostart/init.d/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/api/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/configuration/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/installation/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/operation/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/reboot/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/running/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/updating/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/windows/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/certificates/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/hadashboard/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/hass-configurator/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/ios/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/nginx/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/notebooks/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/scenegen/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/ecosystem/synology/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/tools/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/tools/dev-tools/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/tools/hass/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/docs/tools/scripts/ -2018-01-25T18:50:24+00:00 +2018-01-25T20:15:01+00:00 https://home-assistant.io/faq/after-upgrading/ @@ -5830,62 +5830,62 @@ https://home-assistant.io/demo/frontend.html -2018-01-25T18:49:30+00:00 +2018-01-25T20:14:09+00:00 https://home-assistant.io/demo/index.html -2018-01-25T18:49:30+00:00 +2018-01-25T20:14:09+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2018-01-25T18:49:30+00:00 +2018-01-25T20:14:09+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2018-01-25T18:49:30+00:00 +2018-01-25T20:14:09+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2018-01-25T18:49:30+00:00 +2018-01-25T20:14:09+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2018-01-25T18:49:30+00:00 +2018-01-25T20:14:09+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2018-01-25T18:49:30+00:00 +2018-01-25T20:14:09+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2018-01-25T18:49:30+00:00 +2018-01-25T20:14:09+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2018-01-25T18:49:30+00:00 +2018-01-25T20:14:09+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2018-01-25T18:49:30+00:00 +2018-01-25T20:14:09+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2018-01-25T18:49:30+00:00 +2018-01-25T20:14:09+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2018-01-25T18:49:30+00:00 +2018-01-25T20:14:09+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2018-01-25T18:49:31+00:00 +2018-01-25T20:14:09+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2018-01-25T18:49:31+00:00 +2018-01-25T20:14:09+00:00 https://home-assistant.io/static/mdi-demo.html -2018-01-25T18:49:31+00:00 +2018-01-25T20:14:09+00:00