Site updated at 2018-01-28 22:02:31 UTC
This commit is contained in:
parent
57a21e9eb0
commit
01b474f87c
268 changed files with 412 additions and 412 deletions
|
@ -182,7 +182,7 @@ an event trigger.</p>
|
|||
<span class="s">state</span><span class="pi">:</span> <span class="s2">"</span><span class="s">on"</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>The following automation shows how to capture the custom event <code class="highlighter-rouge">event_light_turned_on</code>, and retrieve corresponsing <code class="highlighter-rouge">entity_id</code> that was passed as the event data.</p>
|
||||
<p>The following automation shows how to capture the custom event <code class="highlighter-rouge">event_light_turned_on</code>, and retrieve corresponding <code class="highlighter-rouge">entity_id</code> that was passed as the event data.</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="pi">-</span> <span class="s">alias</span><span class="pi">:</span> <span class="s">Capture Event</span>
|
||||
<span class="s">trigger</span><span class="pi">:</span>
|
||||
<span class="s">platform</span><span class="pi">:</span> <span class="s">event</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue