From 706b1eb2a6bd26efce7f31fec3904bfb5174f997 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 17 Nov 2017 23:49:19 +0000 Subject: [PATCH] Site updated at 2017-11-17 23:49:19 UTC --- atom.xml | 2 +- blog/categories/announcements/atom.xml | 2 +- blog/categories/community/atom.xml | 2 +- blog/categories/device-tracking/atom.xml | 2 +- blog/categories/esp8266/atom.xml | 2 +- blog/categories/how-to/atom.xml | 2 +- blog/categories/ibeacons/atom.xml | 2 +- blog/categories/internet-of-things/atom.xml | 2 +- blog/categories/iot-data/atom.xml | 2 +- blog/categories/media/atom.xml | 2 +- blog/categories/merchandise/atom.xml | 2 +- blog/categories/micropython/atom.xml | 2 +- blog/categories/mqtt/atom.xml | 2 +- blog/categories/organisation/atom.xml | 2 +- blog/categories/owntracks/atom.xml | 2 +- blog/categories/presence-detection/atom.xml | 2 +- .../public-service-announcement/atom.xml | 2 +- blog/categories/release-notes/atom.xml | 2 +- blog/categories/survey/atom.xml | 2 +- blog/categories/talks/atom.xml | 2 +- blog/categories/technology/atom.xml | 2 +- blog/categories/user-stories/atom.xml | 2 +- blog/categories/video/atom.xml | 2 +- blog/categories/website/atom.xml | 2 +- docs/automation/templating/index.html | 7 ++ sitemap.xml | 80 +++++++++---------- 26 files changed, 71 insertions(+), 64 deletions(-) diff --git a/atom.xml b/atom.xml index 86496f5964..a4b40c6c4d 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/announcements/atom.xml b/blog/categories/announcements/atom.xml index 1af447f154..69e6f2de4b 100644 --- a/blog/categories/announcements/atom.xml +++ b/blog/categories/announcements/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Announcements | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 374a3b76ce..935be40ac0 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 705b1803b5..01c23cd5de 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]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 2742f875a8..95dae8bed3 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 28b7e3bd56..18216921cb 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]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 5da09c9220..27f29819a4 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+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 b8bd1865d1..f2efd46783 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]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 18051eb102..da9cb75787 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]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/media/atom.xml b/blog/categories/media/atom.xml index e7db41eac1..6d64fce3fd 100644 --- a/blog/categories/media/atom.xml +++ b/blog/categories/media/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Media | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index 19bb096daa..777b2ad698 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 19133bb8ec..e9d1fef8a0 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index eff750181c..5c01f05ffc 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index c4b2374f93..f2e99cd616 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 5e9f38bb63..4d5c6cbb92 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 1673c5f257..c3aab60612 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]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+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 517c8df7e3..58592e927b 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]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index ce5fdb7676..cb5a35e3c4 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]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 6baf1d1f89..93a4d6770e 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 7e7444d944..32a06cabea 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 17ca293376..decd83c1c0 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index ff395db15c..e5c1f6169e 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]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 8fcb8376c0..e392776c93 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index b52a2ef044..b98b9f1f94 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-11-17T20:21:23+00:00 + 2017-11-17T23:35:29+00:00 https://home-assistant.io/ diff --git a/docs/automation/templating/index.html b/docs/automation/templating/index.html index ea219c7970..13eb343cc2 100644 --- a/docs/automation/templating/index.html +++ b/docs/automation/templating/index.html @@ -111,6 +111,13 @@
  • While the float and int filters do allow a default fallback value if the conversion is unsuccessful, they do not provide the ability to catch undefined variables.
  • Remembering these simple rules will help save you from many headaches and endless hours of frustration when using automation templates.

    +

    Trigger State Object

    +

    Knowing how to access the state object of a trigger entity could be one of the more common questions. Here are a few ways for the state, numeric_state and template triggers:

    +
      +
    • trigger.from_state will return the previous state object of the entity.
    • +
    • trigger.to_state will return the new state object that triggered trigger.
    • +
    • states[trigger.to_state.domain][trigger.to_state.object_id] will return the current state object of the entity.
    • +

    Available Trigger Data

    The following tables show the available trigger data per platform.

    event

    diff --git a/sitemap.xml b/sitemap.xml index 8f1249d023..b820c73121 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -3646,7 +3646,7 @@ https://home-assistant.io/components/switch.hook/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/cookbook/automation_for_rainy_days/ @@ -4318,99 +4318,99 @@ https://home-assistant.io/docs/autostart/init.d/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/api/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/configuration/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/installation/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/operation/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/reboot/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/running/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/updating/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/windows/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/certificates/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/hadashboard/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/hass-configurator/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/ios/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/nginx/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/notebooks/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/scenegen/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/ecosystem/synology/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/tools/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/tools/dev-tools/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/tools/hass/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/docs/tools/scripts/ -2017-11-17T20:21:23+00:00 +2017-11-17T23:35:29+00:00 https://home-assistant.io/faq/after-upgrading/ @@ -5522,62 +5522,62 @@ https://home-assistant.io/demo/frontend.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00 https://home-assistant.io/demo/index.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00 https://home-assistant.io/static/mdi-demo.html -2017-11-17T20:20:20+00:00 +2017-11-17T23:34:12+00:00