I’m having an issue where commands sent to groups seem to no longer be working.
For example, I have a group called “Family Room Lights” defined in Z2M. It contains 4 light devices. If I toggle a device, it works fine. If I toggle the group containing the device, nothing happens.
Verified through Dev Tools -> Actions.
Action: light toggle
Targets: I choose 2 entities, both the “Family Room Lights” as well as 1 of the contained lights “Family Room Light 1”.
When I click on “Perform action”, the room light 1 toggles but none of the other lights in the group do. If I have only the group as targets, nothing happens.
Additional symptom:
If I go into Z2M Groups and add a new group “Test Group” and add “Family Room Light 1” to it, no issues. I can do “Perform Action” with “Test Group” as the target and it works fine. So… a new group works fine, an existing group doesn’t.
Furthermore, if I try deleting a different test group I made I get an error implying that the group doesn’t actually exist. However, if I delete the “Test Group”, it deletes with on errors.
SOMETHING is messed up with my groups database.
—-log from the last point:
Info 2025-03-16 11:56:31z2m: Removing group 'Family Room Lights 2' (force: false)
Error 2025-03-16 11:56:31z2m: Request 'zigbee2mqtt/bridge/request/group/remove' failed with error: 'Failed to remove group 'Family Room Lights 2' (force: false) (Error: DatabaseEntry with ID '58' does not exist)'
Info 2025-03-16 11:56:31z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/group/remove', payload '{"data":{},"error":"Failed to remove group 'Family Room Lights 2' (force: false) (Error: DatabaseEntry with ID '58' does not exist)","status":"error","transaction":"hp40l-1"}'
Any idea how I can fix this?