Site updated at 2016-05-07 20:05:09 UTC
This commit is contained in:
parent
734e3c6515
commit
890a79eba3
300 changed files with 7312 additions and 1175 deletions
|
@ -160,7 +160,7 @@
|
|||
|
||||
<p>Christmas is coming along and you decide to buy a remote switch to control the Christmas lights from Home Assistant. You can’t claim to live in the house of the future if you’re still manually turning on your Christmas lights!</p>
|
||||
|
||||
<p>We hook the switch up to Home Assistant and grab the entity ID0 from the developer tools: <code>switch.christmas_lights</code>. We will update the group to include the switch and will change our action. We are no longer able to call <code>light.turn_on</code> because we also want to turn on a switch. This is where <code>homeassistant.turn_on</code> comes to the rescue. This service is capable of turning any entity on.</p>
|
||||
<p>We hook the switch up to Home Assistant and grab the entity ID from the developer tools: <code>switch.christmas_lights</code>. We will update the group to include the switch and will change our action. We are no longer able to call <code>light.turn_on</code> because we also want to turn on a switch. This is where <code>homeassistant.turn_on</code> comes to the rescue. This service is capable of turning any entity on.</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="comment"># Example configuration.yaml entry</span>
|
||||
|
@ -187,6 +187,16 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a class="title-link" name="learn-more" href="#learn-more"></a> Learn more</h3>
|
||||
|
||||
<ul>
|
||||
<li><a href="/getting-started/automation-trigger/">Triggers</a></li>
|
||||
<li><a href="/getting-started/automation-condition/">Conditions</a></li>
|
||||
<li><a href="/getting-started/automation-action/">Actions</a></li>
|
||||
<li><a href="/getting-started/automation-templating/">Templating</a> (advanced)</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
@ -220,7 +230,7 @@
|
|||
<li><a href='/getting-started/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/getting-started/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/getting-started/troubleshooting-configuration/'>Troubleshooting configuration.yaml </a></li>
|
||||
<li><a href='/getting-started/troubleshooting-configuration/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
|
@ -230,6 +240,14 @@
|
|||
<li><a href='/getting-started/automation-trigger/'>Triggers </a></li>
|
||||
<li><a href='/getting-started/automation-condition/'>Conditions </a></li>
|
||||
<li><a href='/getting-started/automation-action/'>Actions </a></li>
|
||||
<li><a href='/getting-started/automation-templating/'>Templates </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/getting-started/scripts/'>Scripts </a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/scripts-service-calls/'>Service Calls </a></li>
|
||||
<li><a href='/getting-started/scripts-conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue