Entities behaving weirdly

I have entities related to motion events on cameras that were behaving normally until earlier today

They still appear in logbook (turning on and off as expected) but groups that they are members of do not change state when the entities change state; they used to until earlier today

However if I go into Developer Tools => States and manually set one of the entities to be on, then the group that contains it also turns on

How could a group state be changed by manually setting the state in Developer Tools but not when the same entity changes state because of an external event?

I have tried reinstalling the integration but that has not made any difference

It might help if you told us which integration.

Also check Settings → System → Logs for related errors.

Sorry, it’s the Unifi Protect integration

There is one message in logs that might be relevant which is around the time I reinstalled the integration, so after the problem manifested some hours earlier

I say might be relevant because it relates to a status light on one of the Unifi Protect cameras

[Sensitive data obfuscated]
2024-09-04 22:08:14.510 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [XXXXXXXXXXX] XXXXXXXXX from 127.0.0.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36): Client unable to keep up with pending messages. Reached 4096 pending messages. The system’s load is too high or an integration is misbehaving; Last message was: b’{“type”:“event”,“event”:{“event_type”:“entity_registry_updated”,“data”:{“action”:“update”,“entity_id”:“switch.xxxxxxxxxxx_status_light_on”,“changes”:{“options”:{“cloud.alexa”:{“should_expose”:false},“cloud.google_assistant”:{“should_expose”:false}}}},“origin”:“LOCAL”,“time_fired”:“2024-09-04T21:08:14.510660+00:00”,“context”:{“id”:“XXXXXXXXXXXXXXXXXXX”,“parent_id”:null,“user_id”:null}},“id”:45}’

After restarting HA, the error has not reoccurred and given the timing, not sure it is relevant after all

As another test, I added some of the “person detected” events to an entities card

The state of these entities don’t change even though they appear in the logbook

Just checked integration on GitHub and looks like this is a known issue since 30 August: https://github.com/home-assistant/core/issues/124967