Site updated at 2015-09-10 19:39:00 UTC

This commit is contained in:
Paulus Schoutsen 2015-09-10 12:39:00 -07:00
parent 718cb79e66
commit 3ce314c0a7
82 changed files with 2127 additions and 953 deletions

View file

@ -125,6 +125,24 @@ A switch platform that issues specific commands when it is turned on and off. Th
</span><span class='line'> offcmd: switch_command off kitchen</span></code></pre></td></tr></table></div></figure>
<p>Configuration variables:</p>
<ul>
<li><strong>switches</strong> array (<em>Required</em>): Contains all command switches.
<ul>
<li><strong>&lsquo;entry&rsquo;</strong> (<em>Required</em>): Name of the command switch. Multiple entries are possible.
<ul>
<li><strong>oncmd</strong> (<em>Required</em>): The action to take for on.</li>
<li><strong>offcmd</strong> (<em>Required</em>): The action to take for off.</li>
</ul>
</li>
</ul>
</li>
</ul>
</article>