Site updated at 2017-06-07 15:11:58 UTC

This commit is contained in:
Travis CI 2017-06-07 15:11:58 +00:00
parent 71672d2ae2
commit 51b33ca7f9
25 changed files with 39 additions and 39 deletions

View file

@ -69,7 +69,7 @@
<p>The <code class="highlighter-rouge">flux</code> switch platform will change the temperature of your lights similar to the way flux works on your computer, using circadian rhythm. They will be bright during the day, and gradually fade to a red/orange at night.</p>
<p>The component will update your lights based on the the time of day. It will only affect lights that are turned on and listed in the flux configuration.</p>
<p>During the day (in between <code class="highlighter-rouge">start time</code> and <code class="highlighter-rouge">sunset time</code>), it will fade the lights from the <code class="highlighter-rouge">start_colortemp</code> to the <code class="highlighter-rouge">sunset_colortemp</code>. After sunset (between <code class="highlighter-rouge">sunset_time</code> and <code class="highlighter-rouge">stop_time</code>), the lights will fade from the the <code class="highlighter-rouge">sunset_colortemp</code> to the <code class="highlighter-rouge">stop_colortemp</code>. If the lights are still on after the <code class="highlighter-rouge">stop_time</code> it will continue to change the light to the <code class="highlighter-rouge">stop_colortemp</code> until the light is turned off. The fade effect is created by updating the lights every 30 seconds with a 30 second transition time.</p>
<p>If you dont wish to have flux update on 30 second intervals, you can leave the switch turned off and use automation rules that call the service <code class="highlighter-rouge">switch.flux_update</code> whenever you want the lights updated.</p>
<p>If you dont wish to have flux update on 30 second intervals, you can leave the switch turned off and use automation rules that call the service <code class="highlighter-rouge">switch.&lt;name&gt;_update</code> whenever you want the lights updated, where <code class="highlighter-rouge">&lt;name&gt;</code> equals the <code class="highlighter-rouge">name:</code> property in the switch configuration.</p>
<p>To use the Flux switch in your installation, 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>