Action and click sensors will be removed from zigbee2mqtt with version 2.0.0. Anyone knows how to listen for eg button click events in NR after the break?
I finally pulled the trigger and upgraded to Z2M 2.x and I had to re-enable legacy actions in the Z2M config to get all actions back. I am still trying to figure out how to change all my flows to not use action anymore.
Have you figured that out yet?
Looking at this post, it would appear that there are new event entities created ex event.some_device_button
and those would be used to trigger the flow. You should be able to use an event state node to see changes to the event
entity.
Edit: After reading this WTH about event
entities it seems that this may not trigger a second time if the entity repeats the same action. i.e. button is pressed automation works, pressed again a minute later the node doesn’t trigger.
If you see this behavior, try un checking the state
= state
radio box in the event state node.