From 3c6b123eda1dd7cbd4178b9de40fcf80a17043bd Mon Sep 17 00:00:00 2001 From: Travis CI Date: Wed, 25 Oct 2017 19:58:21 +0000 Subject: [PATCH] Site updated at 2017-10-25 19:58:21 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 +- developers/development_states/index.html | 9 ++- sitemap.xml | 80 +++++++++---------- 26 files changed, 70 insertions(+), 67 deletions(-) diff --git a/atom.xml b/atom.xml index 3947266e00..2c0c35e062 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/announcements/atom.xml b/blog/categories/announcements/atom.xml index 8108dca943..206d619d00 100644 --- a/blog/categories/announcements/atom.xml +++ b/blog/categories/announcements/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Announcements | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 63b6f13a70..e989e06d7b 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 9f7ff79de7..a1a678a8cd 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-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index a42077c24c..e622b8f513 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 02738bfd58..fdefd537d6 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-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 2c467c9e9d..285b6ecc80 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+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 c1027653a9..9e9d9a66fb 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-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 21ccec797f..419a86f1f1 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-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/media/atom.xml b/blog/categories/media/atom.xml index dfc8778218..3be9656d11 100644 --- a/blog/categories/media/atom.xml +++ b/blog/categories/media/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Media | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index 076b62c1b3..3a23a9b80c 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 270a1a28c4..ffcf733d89 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index bd2ee231f8..4ad8c6b10a 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index a860333aad..7e652b64ab 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 348597a29e..c8e0c2d632 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 6197ec600f..62a2da6bf9 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-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+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 625ac12507..478a13eee0 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-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 77549bdbb5..ed48bc1941 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-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 8e6862d685..72bb0a2f4b 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index b34592b8b9..d99fbfcd13 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 1068596459..c75a52478e 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index d5563c5d1e..f6423f8487 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-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 402d21c372..c70822ce2e 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 2398246321..961b1534d8 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-10-25T18:43:59+00:00 + 2017-10-25T19:43:53+00:00 https://home-assistant.io/ diff --git a/developers/development_states/index.html b/developers/development_states/index.html index 869e383238..3114c5228a 100644 --- a/developers/development_states/index.html +++ b/developers/development_states/index.html @@ -174,13 +174,16 @@ The component will only write a log message. Keep in mind for later that you hav

-

In order to expose attributes of your component, you will need to define a method called state_attributes which will return a dictionary of attributes:

+

In order to expose attributes for a platform, you will need to define a property called device_state_attributes on the entity class, which will return a dictionary of attributes:

@property
-def state_attributes(self):
-    """Return the attributes of the entity."""
+def device_state_attributes(self):
+    """Return device specific state attributes."""
     return self._attributes
 
+

+Entities also have a similar property state_attributes, which normally doesn’t need to be defined by new platforms. This property is used by base components to add standard sets of attributes to a state. Example: The light component uses state_attributes to add brightness to the state dictionary. If you are designing a new component, you should define state_attributes instead. +

To get your component included in the Home Assistant releases, follow the steps described in the Submitting improvements section. Basically you only need to move your component in the homeassistant/component/ directory of your fork and create a Pull Request.

diff --git a/sitemap.xml b/sitemap.xml index 58f51eb89a..3a7078caaf 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -3542,7 +3542,7 @@ https://home-assistant.io/components/switch.hook/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/cookbook/automation_for_rainy_days/ @@ -4206,99 +4206,99 @@ https://home-assistant.io/docs/autostart/init.d/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/api/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/configuration/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/installation/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/operation/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/reboot/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/running/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/updating/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/windows/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/certificates/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/hadashboard/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/hass-configurator/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/ios/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/nginx/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/notebooks/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/scenegen/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/ecosystem/synology/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/tools/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/tools/dev-tools/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/tools/hass/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/docs/tools/scripts/ -2017-10-25T18:43:59+00:00 +2017-10-25T19:43:53+00:00 https://home-assistant.io/faq/after-upgrading/ @@ -5376,62 +5376,62 @@ https://home-assistant.io/demo/frontend.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:02+00:00 https://home-assistant.io/demo/index.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:02+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:02+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:02+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:02+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:02+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:02+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:02+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:02+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:02+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:02+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:02+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:02+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:02+00:00 https://home-assistant.io/static/mdi-demo.html -2017-10-25T18:43:16+00:00 +2017-10-25T19:43:03+00:00