Open stiltjack opened 2 months ago
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (group
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
group documentation group source (message by IssueLinks)
Using group:
is the old style of YAML, and doesn't support unique_id
. Use the new style of YAML instead as described in the documentation
Well, I'm not sure if this issue can be treated as "feature request", but I'm kindly requesting this feature: please allow to assign unique_id
to "old style groups".
Since the old style groups the new stile groups and UI based groups have been introduced. So the old style groups are 2 generations behind the latest developments.
Since the old style groups the new stile groups and UI based groups have been introduced. So the old style groups are 2 generations behind the latest developments.
Sure. "Old style groups" are behind. YET, still more powerful… Their members can be managed by services and the list of entities can be empty – both things not possible with "new style groups". "New style groups" are not a replacement for "old style groups".
The problem
Not sure if this is an issue with docs or core... The docs give unique_id as an option for groups defined in yaml, but this throws an error:
Invalid config for 'group' at groups.yaml, line 7: 'unique_id' is an invalid option for 'group', check: group->all_kitchen_lights->unique_id
This makes it impossible to manage a group of mixed entities (eg light and input_boolean) in the UI - for example to assign it an area.
What version of Home Assistant Core has the issue?
2024.7.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Group
Link to integration documentation on our website
https://www.home-assistant.io/integrations/group/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response