Site updated at 2016-08-22 08:21:42 UTC

This commit is contained in:
Travis CI 2016-08-22 08:21:43 +00:00
parent f9d65cbe57
commit 4acb07bf8e
559 changed files with 18878 additions and 21688 deletions

View file

@ -94,10 +94,10 @@
<p>A state can have several attributes that will help the frontend in displaying your state:</p>
<ul>
<li><code>friendly_name</code>: this name will be used as the name of the device</li>
<li><code>entity_picture</code>: this picture will be shown instead of the domain icon</li>
<li><code>unit_of_measurement</code>: this will be appended to the state in the interface</li>
<li><code>hidden</code>: This is a suggestion to the frontend on if the state should be hidden</li>
<li><code class="highlighter-rouge">friendly_name</code>: this name will be used as the name of the device</li>
<li><code class="highlighter-rouge">entity_picture</code>: this picture will be shown instead of the domain icon</li>
<li><code class="highlighter-rouge">unit_of_measurement</code>: this will be appended to the state in the interface</li>
<li><code class="highlighter-rouge">hidden</code>: This is a suggestion to the frontend on if the state should be hidden</li>
</ul>
<p>These attributes are defined in <a href="https://github.com/home-assistant/home-assistant/blob/master/homeassistant/helpers/entity.py#L180">homeassistant.helpers.entity</a>.</p>