Site updated at 2016-08-22 08:21:42 UTC
This commit is contained in:
parent
f9d65cbe57
commit
4acb07bf8e
559 changed files with 18878 additions and 21688 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue