WS-USC01 automation stops working

I have a Aqara no neutral light switch that stops working with HA, even though the logs still show it updating.

This is the second switch like this I have installed, both display the same issue. When I first pair it with HA, I can turn the switch on and off from the dashboard, a while later, it stops working, and I get 7 red flashes on the indicator light. But I’m still seeing updates from it in logs.

2023-03-30 09:00:35MQTT publish: topic 'zigbee2mqtt/Laundry Room Light Switch', payload '{"action":null,"device_temperature":18,"flip_indicator_light":null,"linkquality":255,"mode_switch":null,"operation_mode":null,"power_outage_count":1,"state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null}'