Site updated at 2018-02-13 16:47:08 UTC

This commit is contained in:
Travis CI 2018-02-13 16:47:08 +00:00
parent 3a61e6afb6
commit 923592f57d
29 changed files with 92 additions and 80 deletions

View file

@ -156,6 +156,15 @@ This allows you to mix several AND and OR conditions together.</p>
<span class="s">after_offset</span><span class="pi">:</span> <span class="s2">"</span><span class="s">-1:00:00"</span>
</code></pre>
</div>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">condition</span><span class="pi">:</span>
<span class="s">condition</span><span class="pi">:</span> <span class="s">or</span> <span class="c1"># 'when dark' condition: either after sunset or before sunrise</span>
<span class="s">conditions</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">condition</span><span class="pi">:</span> <span class="s">sun</span>
<span class="s">after</span><span class="pi">:</span> <span class="s">sunset</span>
<span class="pi">-</span> <span class="s">condition</span><span class="pi">:</span> <span class="s">sun</span>
<span class="s">before</span><span class="pi">:</span> <span class="s">sunrise</span>
</code></pre>
</div>
<p>Here is a truth table to clarify the parameters with and without offset:</p>
<table>
<thead>

View file

@ -90,7 +90,7 @@
</code></pre>
</div>
<h3><a class="title-link" name="raspberry-pi" href="#raspberry-pi"></a> Raspberry Pi</h3>
<p>On Raspberry Pi you will need to enable the serial interface in the <code class="highlighter-rouge">raspbi-config</code> tool before you can add Z-Wave to Home Assistant.</p>
<p>On Raspberry Pi you will need to enable the serial interface in the <code class="highlighter-rouge">raspi-config</code> tool before you can add Z-Wave to Home Assistant.</p>
<h2><a class="title-link" name="configuration" href="#configuration"></a> Configuration</h2>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">zwave</span><span class="pi">:</span>