Site updated at 2017-07-16 05:06:47 UTC

This commit is contained in:
Travis CI 2017-07-16 05:06:47 +00:00
parent 477f499ed2
commit 3738c7d54a
524 changed files with 8458 additions and 2098 deletions

View file

@ -107,13 +107,16 @@
<p>Device configuration variables:</p>
<ul>
<li><strong>name</strong> (<em>Optional</em>): Name for the device, defaults to RFLink ID.</li>
<li><strong>aliasses</strong> (<em>Optional</em>): Alternative RFLink IDs this device is known by.</li>
<li><strong>aliases</strong> (<em>Optional</em>): Alternative RFLink IDs this device is known by.</li>
<li><strong>fire_event</strong> (<em>Optional</em>): Fire an <code class="highlighter-rouge">button_pressed</code> event if this device is turned on or off (default: False).</li>
<li><strong>signal_repetitions</strong> (<em>Optional</em>): Repeat every RFLink command this number of times (default: 1)</li>
<li><strong>group</strong> (<em>Optional</em>): Allow switch to respond to group commands (ALLON/ALLOFF). (default: yes)</li>
<li><strong>group_aliases</strong> (<em>Optional</em>): <code class="highlighter-rouge">aliases</code> which only respond to group commands.</li>
<li><strong>no_group_aliases</strong> (<em>Optional</em>): <code class="highlighter-rouge">aliases</code> which do not respond to group commands.</li>
</ul>
<h3><a class="title-link" name="switch-state" href="#switch-state"></a> Switch state</h3>
<p>Initially the state of a switch is unknown. When the switch is turned on or off (via frontend or wireless remote) the state is known and will be shown in the frontend.</p>
<p>Sometimes a switch is controlled by multiple wireless remotes, each remote has its own code programmed in the switch. To allow tracking of the state when switched via other remotes add the corresponding remote codes as aliasses:</p>
<p>Sometimes a switch is controlled by multiple wireless remotes, each remote has its own code programmed in the switch. To allow tracking of the state when switched via other remotes add the corresponding remote codes as aliases:</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="s">platform</span><span class="pi">:</span> <span class="s">rflink</span>
@ -121,7 +124,7 @@
<span class="s">newkaku_0000c6c2_1</span><span class="pi">:</span>
<span class="s">name</span><span class="pi">:</span> <span class="s">Ceiling fan</span>
<span class="s">icon</span><span class="pi">:</span> <span class="s">mdi:fan</span>
<span class="s">aliasses</span><span class="pi">:</span>
<span class="s">aliases</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">newkaku_000000001_2</span>
<span class="pi">-</span> <span class="s">kaku_000001_a</span>
</code></pre>
@ -315,6 +318,9 @@
<li>
<a href='/components/switch.wink/'>Wink Switch</a>
</li>
<li>
<a href='/components/switch.xiaomi_vacuum/'>Xiaomi Mi Robot Vacuum</a>
</li>
<li>
<a href='/components/switch.zwave/'>Z-Wave Switch</a>
</li>