From 953da76da9925d18effb698bd2b3fff0b272437f Mon Sep 17 00:00:00 2001 From: Milan V Date: Tue, 31 Oct 2017 14:41:35 +0100 Subject: [PATCH] Add default groups info to group component doc (#3659) * Add default groups info to group component doc * Corrections of default group info * Minor change --- source/_components/group.markdown | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/source/_components/group.markdown b/source/_components/group.markdown index ef4ff29fc76..d090dc7b9f8 100644 --- a/source/_components/group.markdown +++ b/source/_components/group.markdown @@ -89,3 +89,34 @@ Notice in the example below that in order to refer to the group "Living Room", y - group.living_room - group.bedroom ``` + +## {% linkable_title Default groups %} + +Some components automatically create special groups containing component entities. These groups are named like `group.all_...`, for example: +- `group.all_switches` +- `group.all_lights` +- `group.all_devices` +- `group.all_scripts` +- `group.all_automations` + +You can see list of these groups in **State** page of the **Developer Tools**. + +Default groups appear in the HOME tab, if not overridden by user views and groups. Default groups are hidden by default, so you must [customize](/docs/configuration/customizing-devices/) them to be visible in your custom groups and views. + +```yaml +# Example configuration.yaml to include default groups in custom view + +customize: + group.all_automations: + hidden: false + group.all_scripts: + hidden: false + +group: + automation_view: + name: Automation + view: yes + entities: + - group.all_automations + - group.all_scripts +```