Add option to hide the group card switch (#1516)
* Add option to hide the group card switch * Changed hide_switch to control
This commit is contained in:
parent
fe911748b2
commit
9ed887e9b1
1 changed files with 2 additions and 1 deletions
|
@ -45,6 +45,7 @@ Configuration variables:
|
||||||
- **view** (*Optional*): If yes then the entry will be shown as a view (tab).
|
- **view** (*Optional*): If yes then the entry will be shown as a view (tab).
|
||||||
- **name** (*Optional*): Name of the group.
|
- **name** (*Optional*): Name of the group.
|
||||||
- **icon** (*Optional*): 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.
|
- **icon** (*Optional*): 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.
|
||||||
|
- **control** (*Optional*): If hidden then the group switch will be hidden.
|
||||||
- **entities** (*Required*): array or comma delimited string, list of entities to group.
|
- **entities** (*Required*): array or comma delimited string, list of entities to group.
|
||||||
|
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
|
@ -52,7 +53,7 @@ Configuration variables:
|
||||||
Example of groups shown as views in the frontend.
|
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 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 `control` to `hidden`.
|
||||||
|
|
||||||
You can create views (tabs) that contain other groups.
|
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 `group.living_room` (lowercase and spaces replaced with underscores).
|
Notice in the example below that in order to refer to the group "Living Room", you use `group.living_room` (lowercase and spaces replaced with underscores).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue