I have a 4-button switch connected to HA via zigbee: Tuya TS0044 control via MQTT | Zigbee2MQTT Tuya TS0044 control via MQTT | Zigbee2MQTT
Everything worked fine for 2 years and recently stopped working.
I removed the switch from zigbee2mqtt, paired it again.
In Zigbee2mqtt everything works fine, pressing each button is displayed in the Zigbee2Mqtt panel but there is no switch on the HA device list.
If I go to HA->Developer Tools->Device STATES the device is not on the list.
I also checked MQTT Explorer and the data reaches the MQTT broker:
in the branch: zigbee2mqtt/Switch-4-pos I have:
{
You want to turn on “Home Assistant legacy action sensors” inside Zigbee2MQTT, the new events are really bad, one of the admins even opened a WTF thread about them.
Yes, I always remember to have “Update Home Assistant entities” enabled when rename devices.
It was different problem caused by new method of maintaining buttons event at new version od Zigbee2MQTT (since 2.0). Cyberbeni and my replies resolve this problem.