Site updated at 2017-02-28 04:08:21 UTC

This commit is contained in:
Travis CI 2017-02-28 04:08:21 +00:00
parent 54503db601
commit 6c288b4d07
25 changed files with 40 additions and 39 deletions

View file

@ -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 dont 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 dont 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>