i just switched from ZHA to Zigbee2mqtt and everything worked great exept for my hue dimmer switch. Pairing is no problem, re-paired allready twice. but in the MQTT Integration i dont see the pressed button type or that a button was pressed at all. The only thing i see is the press duration time.
does anyone know how to solve that or has any idea about the reason for that problem.
Hi,
You are not the only one, It was working fine until yesterday and HA update to 2025.1.0 on my side (also zigbee2mqtt 2.0, but action is present in zigbee2mqtt).
We have to wait for a patch, if someone raised an issue at HA
Go to the Zigbee2Mqtt UI and there to the options, there is a tab “Homeassistant Integration”. Here you can activate the legacy actions then all should work as before.
The event stuff is really nice and good, but it seems there will be some changes (maybe) to it, so you have to change the things in the next months ,but then, there should be also some more blueprints and so on.
Thanks so much - solved within 30 seconds.
Actually in all that stress of setting up home assistant from my dads backup (he borrowed my stuff during my 4 month vacation) i did not notice that i updated to 2025.1
But good to know. Never had problems before.
for others that are searching: it is that “gear” symbol where you need to navigate
Had the exact same thing and was so worried… thank you very much. Also same UI things broke. I guess the 2025 version was a gamechanger.
Edit: for me, it does not work. The action was activated again but I see that in Zigbee2MQTT the action is String ohne Inhalt(“”), so just an empty string after I press a button. Probably the device is buggy now?
I have a big problem. Does nobody else have it? As soon as I enable legacy action sensor they only deliver an empty string and do not work anymore. When I disable this option and restart Z2MQTT the buttons work again and give me things like on_press but they are not in Home Assistant. What kind of bug is this???
EDIT: (just this line is updated) I’m probably mistaken about which of the below occurred during legacy off or on so I’ve adding the strikethrough. I’ll have to debug later, sorry!
If I have legacy turned on, all my BPs for Hue Dimmers just say “Unknown condition” and fail out at the start of the automation.
If I have legacy turned off, the automation gets further. I’m having trouble debugging, but sometimes the action appears as unknown:
And other times it appears correctly! But it still doesn’t work?
Alright it’s working for me now. I’m not sure what I did exactly, but I definitely have the legacy options enabled and am using this BP: CrazyCoder/zigbee2mqtt_hue_dimmer_v2.yaml