home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.31k stars 30.26k forks source link

Cannot use ZHA group when only a single device is added to that group #122961

Open DarthSonic opened 2 months ago

DarthSonic commented 2 months ago

The problem

I cannot use ZHA group when only a single device is added to that group. So for example if I have a single light bulb "fooLight" in a group "fooGroup", I cannot select fooGroup in Automations or Node Red, only the fooLight directly. This is not very practical when I plan to add more devices to that group (I have to first setup the single device in automations, than chage to group if more than one device) or if I remove some device from that group (automation gets invalid if only a single device is left in group).

What version of Home Assistant Core has the issue?

core-2024.7.4

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

ZHA

Link to integration documentation on our website

https://www.home-assistant.io/integrations/zha

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 months ago

Hey there @dmulcahey, @adminiuga, @puddly, @thejulianjes, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `zha` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign zha` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


zha documentation zha source (message by IssueLinks)

Hedda commented 2 months ago

FYI, this issue is also reported and discussed the the external zha library here -> https://github.com/zigpy/zha/issues/47