Site updated at 2016-05-21 22:00:31 UTC
This commit is contained in:
parent
1399856378
commit
cc19822b04
328 changed files with 7619 additions and 978 deletions
|
@ -184,6 +184,12 @@
|
|||
<ul class="divided">
|
||||
|
||||
|
||||
<li class="post">
|
||||
<a href="/blog/2016/05/21/release-020/">0.20: Roku, Last.FM, AWS, Twilio</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="post">
|
||||
<a href="/blog/2016/05/18/why-we-use-polymer/">Why we use web components and Polymer</a>
|
||||
</li>
|
||||
|
@ -207,12 +213,6 @@
|
|||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="post">
|
||||
<a href="/blog/2016/04/30/ibeacons-part-1-making-presence-detection-work-better/">iBeacons: Making presence detection work better (part I)</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
|
|
|
@ -273,6 +273,17 @@ customize.yaml
|
|||
|
||||
<p>If you have issues checkout <code>home-assistant.log</code> in the configuration directory as well as your indentations. If all else fails, head over to the <a href="https://gitter.im/balloob/home-assistant">Gitter Chatroom</a> and ask away.</p>
|
||||
|
||||
<h3><a class="title-link" name="advanced-usage" href="#advanced-usage"></a> Advanced usage</h3>
|
||||
|
||||
<p>We offer four advanced options to include whole directories at once.</p>
|
||||
|
||||
<p><code>!include_dir_list</code> will return content of a directory as a list with each file content being an entry in the list.</p>
|
||||
|
||||
<p><code>!include_dir_named</code> will return content of a directory as a dictionary which maps filename => content of file.</p>
|
||||
|
||||
<p><code>!include_dir_merge_list</code> will return content of a directory as a list by merging all files (which should contain a list) into 1 big list.</p>
|
||||
|
||||
<p><code>!include_dir_merge_named</code> will return content of a directory as a dictionary by loading each file and merging it into 1 big dictionary.</p>
|
||||
|
||||
|
||||
</article>
|
||||
|
|
|
@ -149,6 +149,7 @@ The frontend has a template editor developer tool to help develop and debug temp
|
|||
<li><code>as_timestamp</code> will convert datetime object or string to UNIX timestamp</li>
|
||||
<li><code>distance()</code> will measure the distance in meters between home, entity, coordinates.</li>
|
||||
<li><code>closest()</code> will find the closest entity.</li>
|
||||
<li><code>relative_time(timestamp)</code> will format the date time as relative time vs now (ie 7 seconds)</li>
|
||||
</ul>
|
||||
|
||||
<h2><a class="title-link" name="examples" href="#examples"></a> Examples</h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue