Site updated at 2017-05-28 17:47:20 UTC
This commit is contained in:
parent
af7b503546
commit
39e60ce9d2
50 changed files with 130 additions and 117 deletions
|
@ -98,9 +98,9 @@
|
|||
<li><strong>duration</strong>: Duration of the measure</li>
|
||||
</ul>
|
||||
<p class="note">
|
||||
You have to provide <strong>exactly 2</strong> of <code class="highlighter-rouge">start</code>, <code class="highlighter-rouge">end</code> and <code class="highlighter-rouge">duration</code>.
|
||||
You have to provide <strong>exactly 2</strong> of <code class="highlighter-rouge">start</code>, <code class="highlighter-rouge">end</code> and <code class="highlighter-rouge">duration</code>.
|
||||
<br />
|
||||
You can use <a href="/topics/templating/#home-assistant-template-extensions">template extensions</a> such as <code class="highlighter-rouge">now()</code> or <code class="highlighter-rouge">as_timestamp()</code> to handle dynamic dates, as shown in the examples below.
|
||||
You can use <a href="/topics/templating/#home-assistant-template-extensions">template extensions</a> such as <code class="highlighter-rouge">now()</code> or <code class="highlighter-rouge">as_timestamp()</code> to handle dynamic dates, as shown in the examples below.
|
||||
</p>
|
||||
<h2><a class="title-link" name="sensor-type" href="#sensor-type"></a> Sensor type</h2>
|
||||
<p>Depending on the sensor type you choose, the <code class="highlighter-rouge">history_stats</code> component can show different values:</p>
|
||||
|
@ -171,7 +171,7 @@
|
|||
</code></pre>
|
||||
</div>
|
||||
<p class="note">
|
||||
If you want to check if your period is right, just click on your component, the <code class="highlighter-rouge">from</code> and <code class="highlighter-rouge">to</code> attributes will show the start and end of the period, nicely formatted.
|
||||
If you want to check if your period is right, just click on your component, the <code class="highlighter-rouge">from</code> and <code class="highlighter-rouge">to</code> attributes will show the start and end of the period, nicely formatted.
|
||||
</p>
|
||||
</article>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue