Site updated at 2016-08-22 08:21:42 UTC
This commit is contained in:
parent
f9d65cbe57
commit
4acb07bf8e
559 changed files with 18878 additions and 21688 deletions
|
@ -89,7 +89,7 @@
|
|||
<hr class="divider">
|
||||
|
||||
|
||||
<p>Home Assistant has a built-in component called <code>device_sun_light_trigger</code> to help you automate your lights. The component will:</p>
|
||||
<p>Home Assistant has a built-in component called <code class="highlighter-rouge">device_sun_light_trigger</code> to help you automate your lights. The component will:</p>
|
||||
|
||||
<ul>
|
||||
<li>Fade in the lights when the sun is setting and there are people home</li>
|
||||
|
@ -99,17 +99,15 @@
|
|||
|
||||
<p>This component requires the components <a href="/components/sun/">sun</a>, <a href="/components/device_tracker/">device_tracker</a> and <a href="/components/light/">light</a> to be enabled.</p>
|
||||
|
||||
<p>To enable this component, add the following lines to your <code>configuration.yaml</code> file:</p>
|
||||
<p>To enable this component, add the following lines to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="comment"># Example configuration.yaml entry</span>
|
||||
<span class="key">device_sun_light_trigger</span>:
|
||||
<span class="key">light_group</span>: <span class="string"><span class="content">group.living_room</span></span>
|
||||
<span class="key">light_profile</span>: <span class="string"><span class="content">relax</span></span>
|
||||
<span class="key">device_group</span>: <span class="string"><span class="content">group.my_devices</span></span>
|
||||
<span class="key">disable_turn_off</span>: <span class="string"><span class="content">1</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
|
||||
<span class="s">device_sun_light_trigger</span><span class="pi">:</span>
|
||||
<span class="s">light_group</span><span class="pi">:</span> <span class="s">group.living_room</span>
|
||||
<span class="s">light_profile</span><span class="pi">:</span> <span class="s">relax</span>
|
||||
<span class="s">device_group</span><span class="pi">:</span> <span class="s">group.my_devices</span>
|
||||
<span class="s">disable_turn_off</span><span class="pi">:</span> <span class="s">1</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<p>Configuration variables:</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue