Site updated at 2018-01-28 22:02:31 UTC
This commit is contained in:
parent
57a21e9eb0
commit
01b474f87c
268 changed files with 412 additions and 412 deletions
|
@ -74,7 +74,7 @@
|
|||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
<h4><a class="title-link" name="change-hue-light-on-interval-to-random-color-based-on-state-of-a-input-boolean" href="#change-hue-light-on-interval-to-random-color-based-on-state-of-a-input-boolean"></a> Change Hue light on interval to random color based on state of a input boolean</h4>
|
||||
<h4><a class="title-link" name="change-hue-light-on-interval-to-random-color-based-on-state-of-an-input-boolean" href="#change-hue-light-on-interval-to-random-color-based-on-state-of-an-input-boolean"></a> Change Hue light on interval to random color based on state of an input boolean</h4>
|
||||
<p><em>Note, Philips Hue is currently the only light platform that support the random effect.</em></p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">input_boolean</span><span class="pi">:</span>
|
||||
<span class="s">loop_livingcolors</span><span class="pi">:</span>
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
<span class="no">{% endif %}</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>The <code class="highlighter-rouge">else</code> part is used to have the sensor keep it’s last state if the newest <a href="/components/device_tracker.icloud/">iCloud</a> update doesn’t have any battery state in it (which happens sometimes). Otherwise the sensor will be blank.</p>
|
||||
<p>The <code class="highlighter-rouge">else</code> part is used to have the sensor keep its last state if the newest <a href="/components/device_tracker.icloud/">iCloud</a> update doesn’t have any battery state in it (which happens sometimes). Otherwise the sensor will be blank.</p>
|
||||
<h3><a class="title-link" name="android-and-ios-devices" href="#android-and-ios-devices"></a> Android and iOS Devices</h3>
|
||||
<p>While running the <a href="/components/device_tracker.owntracks/">Owntracks</a> device tracker you can retrieve the battery level with a MQTT sensor. Replace username with your MQTT username (for the embedded MQTT it’s simply homeassistant), and deviceid with the set Device ID in Owntracks.</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">sensor</span><span class="pi">:</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue