Site updated at 2017-04-08 23:38:08 UTC
This commit is contained in:
parent
0b450989d5
commit
b671c3bdf9
536 changed files with 6498 additions and 1728 deletions
|
@ -67,6 +67,7 @@
|
|||
</header>
|
||||
<hr class="divider">
|
||||
<p>The <code class="highlighter-rouge">workday</code> binary sensor indicates, whether the current day is a workday or not. It allows specifying, which days of the week counts as workdays and also uses the python module <a href="https://pypi.python.org/pypi/holidays">holidays</a> to incorporate information about region-specific public holidays.</p>
|
||||
<p>To enable the <code class="highlighter-rouge">workday</code> sensor in your installation, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuation.yaml entry</span>
|
||||
<span class="s">binary_sensor</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">workday</span>
|
||||
|
@ -206,6 +207,9 @@
|
|||
<li>
|
||||
<a href='/components/binary_sensor.rpi_gpio/'>Raspberry PI GPIO Binary Sensor</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/binary_sensor.ring/'>Ring Binary Sensor</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/binary_sensor.sleepiq/'>SleepIQ Binary Sensor</a>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue