Add naming details

This commit is contained in:
Fabian Affolter 2017-07-06 11:55:36 +02:00
parent 155c8c4f74
commit b464407bc9
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -36,5 +36,5 @@ REQUIREMENTS = [
### {% linkable_title Component/platform communication %}
1. If you need to share global data with platforms, use the dictionary `hass.data`.
1. If you need to share global data with platforms, use the dictionary `hass.data`. `hass.data[DATA_XY]` while `XY` is the component is preferred over `hass.data[DOMAIN]`.
2. If the component fetches data that causes related platform entities to update,