The “new” group helpers aren’t really new, they’re mostly a way to create entities in the UI that were previously YAML-only.
Labels can now cover most of the situations that used to be the purview of groups. They can be used as action targets and queried using templates. You can add or remove them manually in the UI or automated their management with Spook’s label management actions.
This is currently one “switch” that can be turned on and off, but will not turn on all entities even though it is in on-state because one entity is turned on. I also was able to share this group with alexa.
I don’t really get how labels can do this. Happy if you could explain how this works
I
That applies if you are only talking about the Dashboard, but a generic turn on action could still cause all entities to turn on… due to how the group is expanded when used as a target entity.
If you want a “switch”, I would use a template switch. The following will work exactly like your group, but you can easily add or remove group members in the UI through Labels; and it can be setup either in YAML or as a Helper in the UI, and it will be visible to Alexa as a switch.
Additionally, conditions could be added to the actions so that the dashboard behavior you described as “but will not turn on all entities even though it is in on-state because one entity is turned on” also applies for automations, scripts, etc.
The value_template used above is equivalent to the “all/All Entities” option being “off”, an equivalent to it being “on” would be: