Site updated at 2016-12-17 22:58:25 UTC
This commit is contained in:
parent
1852a2ea7e
commit
b963fa6eb6
379 changed files with 7177 additions and 1832 deletions
|
@ -123,15 +123,12 @@
|
|||
<span class="s">entities</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">sensor.bedroom_temp</span>
|
||||
<span class="pi">-</span> <span class="s">sensor.porch_temp</span>
|
||||
<span class="pi">-</span> <span class="s">sensor.bathroom_humidity</span>
|
||||
<span class="s">awesome_people</span><span class="pi">:</span>
|
||||
<span class="s">name</span><span class="pi">:</span> <span class="s">Awesome People</span>
|
||||
<span class="s">view</span><span class="pi">:</span> <span class="s">no</span>
|
||||
<span class="s">entities</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">device_tracker.dad_smith</span>
|
||||
<span class="pi">-</span> <span class="s">device_tracker.mom_smith</span>
|
||||
<span class="pi">-</span> <span class="s">device_tracker.dog_smith</span>
|
||||
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
|
@ -141,6 +138,7 @@
|
|||
<li><strong>view</strong> (<em>Optional</em>): If yes then the entry will be shown as a view (tab) at the top.</li>
|
||||
<li><strong>name</strong> (<em>Optional</em>): Name of the group.</li>
|
||||
<li><strong>icon</strong> (<em>Optional</em>): If the group is a view, this icon will show at the top in the frontend instead of the name. If it’s not a view, then the icon shows when this group is used in another group.</li>
|
||||
<li><strong>control</strong> (<em>Optional</em>): If hidden then the group switch will be hidden.</li>
|
||||
<li><strong>entities</strong> (<em>Required</em>): array or comma delimited string, list of entities to group.</li>
|
||||
</ul>
|
||||
|
||||
|
@ -149,7 +147,7 @@
|
|||
Example of groups shown as views in the frontend.
|
||||
</p>
|
||||
|
||||
<p>If all entities in a group are switches or lights then Home Assistant adds a switch at the top of the card that turns them all on/off at once.</p>
|
||||
<p>If all entities in a group are switches or lights then Home Assistant adds a switch at the top of the card that turns them all on/off at once. If you want to hide this switch, set <code class="highlighter-rouge">control</code> to <code class="highlighter-rouge">hidden</code>.</p>
|
||||
|
||||
<p>You can create views (tabs) that contain other groups.
|
||||
Notice in the example below that in order to refer to the group “Living Room”, you use <code class="highlighter-rouge">group.living_room</code> (lowercase and spaces replaced with underscores).</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue