mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 21:06:50 +00:00
Add naming details
This commit is contained in:
parent
155c8c4f74
commit
b464407bc9
@ -36,5 +36,5 @@ REQUIREMENTS = [
|
|||||||
|
|
||||||
### {% linkable_title Component/platform communication %}
|
### {% 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,
|
2. If the component fetches data that causes related platform entities to update,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user