Site updated at 2018-01-19 22:07:22 UTC
This commit is contained in:
parent
8890901d23
commit
ee5dbe7394
27 changed files with 69 additions and 67 deletions
|
@ -98,6 +98,7 @@
|
|||
<li><a href="https://home-assistant.io/components/media_player.samsungtv/">Samsung TVs</a></li>
|
||||
<li><a href="https://home-assistant.io/components/media_player.sonos/">Sonos speakers</a></li>
|
||||
<li><a href="https://home-assistant.io/components/tellduslive/">Telldus Live</a></li>
|
||||
<li><a href="https://home-assistant.io/components/wink/">Wink</a></li>
|
||||
<li><a href="https://home-assistant.io/components/media_player.yamaha/">Yamaha media player</a></li>
|
||||
<li><a href="https://home-assistant.io/components/light.yeelightsunflower/">Yeelight Sunflower bulb</a></li>
|
||||
</ul>
|
||||
|
@ -138,6 +139,7 @@
|
|||
<li><code class="highlighter-rouge">samsung_tv</code>: Samsung TVs</li>
|
||||
<li><code class="highlighter-rouge">sonos</code>: Sonos speakers</li>
|
||||
<li><code class="highlighter-rouge">tellduslive</code>: Telldus Live</li>
|
||||
<li><code class="highlighter-rouge">wink</code>: Wink Hub</li>
|
||||
<li><code class="highlighter-rouge">yamaha</code>: Yamaha media player</li>
|
||||
<li><code class="highlighter-rouge">yeelight</code>: Yeelight Sunflower bulb</li>
|
||||
</ul>
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
<span class="s">group</span><span class="pi">:</span>
|
||||
<span class="s">default_view</span><span class="pi">:</span>
|
||||
<span class="s">view</span><span class="pi">:</span> <span class="s">yes</span>
|
||||
<span class="s">icon</span><span class="pi">:</span> <span class="s">mdi:home</span>
|
||||
<span class="s">icon</span><span class="pi">:</span> <span class="s">mdi:home</span>
|
||||
<span class="s">entities</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">group.kitchen</span>
|
||||
<span class="pi">-</span> <span class="s">group.awesome_people</span>
|
||||
|
@ -115,7 +115,7 @@
|
|||
</div>
|
||||
<p>Configuration variables:</p>
|
||||
<ul>
|
||||
<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>view</strong> (<em>Optional</em>): If yes then the entry will be shown as a view (tab) at the top. Groups that are set to <code class="highlighter-rouge">view: yes</code> cannot be used as entities in other views.</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 the group is a view and both name and icon have been specified, the icon will appear at the top of the frontend and the name will be displayed as the mouse-over text. 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>): Set value to <code class="highlighter-rouge">hidden</code>. If hidden then the group switch will be hidden.</li>
|
||||
|
@ -126,7 +126,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. 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.
|
||||
<p>You can create views (tabs) that contain other groups (but not other groups which are marked as <code class="highlighter-rouge">view: yes</code>).
|
||||
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>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry that shows two groups, referred to in a view group (tab)</span>
|
||||
<span class="s">Living Room</span><span class="pi">:</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue