Site updated at 2016-08-22 08:21:42 UTC
This commit is contained in:
parent
f9d65cbe57
commit
4acb07bf8e
559 changed files with 18878 additions and 21688 deletions
|
@ -89,19 +89,17 @@
|
|||
<hr class="divider">
|
||||
|
||||
|
||||
<p>The component <code>simple_alarm</code> is capable of detecting intruders. It does so by checking if lights are being turned on while there is no one at home. When this happens it will turn the lights red, flash them for 30 seconds and send a message via <a href="/components/notify/">the notifiy component</a>. It will also flash a specific light when a known person comes home.</p>
|
||||
<p>The component <code class="highlighter-rouge">simple_alarm</code> is capable of detecting intruders. It does so by checking if lights are being turned on while there is no one at home. When this happens it will turn the lights red, flash them for 30 seconds and send a message via <a href="/components/notify/">the notifiy component</a>. It will also flash a specific light when a known person comes home.</p>
|
||||
|
||||
<p>This component depends on the components <a href="/components/device_tracker/">device_tracker</a> and <a href="/components/light/">light</a> being setup.</p>
|
||||
|
||||
<p>To set it up, add the following lines to your <code>configuration.yaml</code> file:</p>
|
||||
<p>To set it up, add the following lines to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">simple_alarm</span>:
|
||||
<span class="comment"># Example configuration.yaml entry</span>
|
||||
<span class="key">known_light</span>: <span class="string"><span class="content">light.Bowl</span></span>
|
||||
<span class="key">unknown_light</span>: <span class="string"><span class="content">group.living_room</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">simple_alarm</span><span class="pi">:</span>
|
||||
<span class="c1"># Example configuration.yaml entry</span>
|
||||
<span class="s">known_light</span><span class="pi">:</span> <span class="s">light.Bowl</span>
|
||||
<span class="s">unknown_light</span><span class="pi">:</span> <span class="s">group.living_room</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<p>Configuration variables:</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue