Site updated at 2016-08-24 11:19:24 UTC

This commit is contained in:
Travis CI 2016-08-24 11:19:24 +00:00
parent a3b45e423a
commit b60a53843f
28 changed files with 68 additions and 58 deletions

View file

@ -91,12 +91,12 @@
<p>An EnOcean switch can take many forms. Currently only one type has been tested: Permundo PSC234</p>
<p>To use your EnOcean device, you first have to set up your <a href="../enocean">EnOcean hub</a> and then add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<p>To use your EnOcean device, you first have to set up your <a href="/components/enocean/">EnOcean hub</a> and then 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 configuration.yaml entry</span>
<span class="s">switch</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">name</span><span class="pi">:</span> <span class="s">Television</span>
<span class="s">platform</span><span class="pi">:</span> <span class="s">enocean</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">enocean</span>
<span class="s">name</span><span class="pi">:</span> <span class="s">Front door</span>
<span class="s">id</span><span class="pi">:</span> <span class="pi">[</span><span class="nv">0x01</span><span class="pi">,</span><span class="nv">0x90</span><span class="pi">,</span><span class="nv">0x84</span><span class="pi">,</span><span class="nv">0x3C</span><span class="pi">]</span>
</code></pre>
</div>
@ -105,8 +105,7 @@
<ul>
<li><strong>id</strong> (<em>Required</em>): The ID of the device. This is a 4 bytes long number.</li>
<li><strong>platform</strong> (<em>Required</em>): Set to <code class="highlighter-rouge">enocean</code>.</li>
<li><strong>name</strong> (<em>Required</em>): An identifier for the switch</li>
<li><strong>name</strong> (<em>Optional</em>): An identifier for the switch. Default to <code class="highlighter-rouge">EnOcean Switch</code>.</li>
</ul>