Site updated at 2017-09-26 07:14:23 UTC
This commit is contained in:
parent
80847eb95a
commit
b723b0750d
415 changed files with 2329 additions and 1581 deletions
|
@ -76,7 +76,7 @@
|
|||
<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>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.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>
|
||||
<span class="s">country</span><span class="pi">:</span> <span class="s">DE</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue