Hi. I am trying to migrate my Zigbee-triggered automations from the legacy mode in Zigbee2MQTT to the new (experimental) events.
I have already done some changes, replaced domain from sensor. to event. and added attribute: event_type and it started to work but because the event_type doesnt change back to Unknown when the button is depressed, it doesnt trigger when the same button is being pressed as previously. Any idea how to fix that please?
OK so im seeing a big problem here. The event_type attribute only changes once and does not revert back to unknown when the button is depressed. So using triggers to detect events only works if different buttons are being pressed each time, but doesnt trigger if the pressed button is same as the one pressed previously. Im not sure how can i fix...