Site updated at 2016-09-01 13:01:45 UTC
This commit is contained in:
parent
66e6132631
commit
f945100bf5
23 changed files with 41 additions and 37 deletions
|
@ -89,7 +89,9 @@
|
|||
<hr class="divider">
|
||||
|
||||
|
||||
<p>The <a href="/components/device_tracker.icloud/">iCloud</a> is gathering various details about your device including the battery level. To display it in the Frontend use a <a href="/components/sensor.template/">template sensor</a>.</p>
|
||||
<p>iOS Devices</p>
|
||||
|
||||
<p>If you have a device running iOS (iPhone, iPad, etc), The <a href="/components/device_tracker.icloud/">iCloud</a> is gathering various details about your device including the battery level. To display it in the Frontend use a <a href="/components/sensor.template/">template sensor</a>.</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code> <span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">template</span>
|
||||
<span class="s">sensors</span><span class="pi">:</span>
|
||||
|
@ -106,6 +108,8 @@
|
|||
|
||||
<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>Android and iOS Devices</p>
|
||||
|
||||
<p>While running the <a href="/components/device_tracker.owntracks/">Owntracks</a> device tracker you can retrieve the battery level with a MQTT sensor.</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