Site updated at 2017-07-08 14:35:12 UTC
This commit is contained in:
parent
7a568c513f
commit
f5a0024883
26 changed files with 40 additions and 40 deletions
|
@ -101,7 +101,7 @@
|
|||
</ol>
|
||||
<h3><a class="title-link" name="componentplatform-communication" href="#componentplatform-communication"></a> Component/platform communication</h3>
|
||||
<ol>
|
||||
<li>If you need to share global data with platforms, use the dictionary <code class="highlighter-rouge">hass.data</code>.</li>
|
||||
<li>If you need to share global data with platforms, use the dictionary <code class="highlighter-rouge">hass.data</code>. <code class="highlighter-rouge">hass.data[DATA_XY]</code> while <code class="highlighter-rouge">XY</code> is the component is preferred over <code class="highlighter-rouge">hass.data[DOMAIN]</code>.</li>
|
||||
<li>If the component fetches data that causes related platform entities to update,</li>
|
||||
</ol>
|
||||
</article>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue