Site updated at 2017-02-28 04:08:21 UTC
This commit is contained in:
parent
54503db601
commit
6c288b4d07
25 changed files with 40 additions and 39 deletions
|
@ -98,11 +98,12 @@
|
|||
<img src="/images/screenshots/automation-switches.png" />
|
||||
</p>
|
||||
|
||||
<p>This allows one to reload the automation without restarting Home Assistant itself. If you don’t want to see the automation rule in your frontend use <code class="highlighter-rouge">hide_entity: True</code> to hide it.</p>
|
||||
<p>This allows one to reload the automation without restarting Home Assistant itself. If you don’t want to see the automation rule in your frontend use <code class="highlighter-rouge">hide_entity: True</code> to hide it. You can also use <code class="highlighter-rouge">initial_state: 'off'</code> so that the automation is not automatically turned on after a Home assistant reboot.</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">automation</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">alias</span><span class="pi">:</span> <span class="s">Door alarm</span>
|
||||
<span class="s">hide_entity</span><span class="pi">:</span> <span class="s">True</span>
|
||||
<span class="s">initial_state</span><span class="pi">:</span> <span class="s1">'</span><span class="s">off'</span>
|
||||
<span class="s">trigger</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">state</span>
|
||||
<span class="s">...</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue