ZHA randomly creates unnamed zigbee groups

I’m using ZHA with Conbee II, and it seems like something in the system is creating Zigbee groups without my asking for it. I set up a group intentionally once a few months ago. Then I came back after a few week and noticed a bunch of other groups in the list. So I deleted those extra ones, and then a few weeks later I see some other groups. It’s pretty weird. I’m not using these groups for anything. They are all named “No name group 0x0001” with different hex values. Some groups contain lights, and one actually contains 2 copies of my Conbee, which doesn’t make any sense.


I see this same behavior still going on today, with the latest HA version and zha with a husbz-1 dongle.
Whatever is creating them also sometimes attempts to create a group on an existing hex id. I see this in the logs:

 Logger: homeassistant.components.light
Source: helpers/entity_platform.py:540
Integration: Light (documentation, issues)
First occurred: March 11, 2023 at 21:27:20 (84 occurrences)
Last logged: March 17, 2023 at 07:11:06

    Platform zha does not generate unique IDs. ID light_zha_group_0x0003 already exists - ignoring light.silicon_labs_ezsp_all_zigbee_lights_zha_group_0x0003