Hi,
i switched all my devices from a ZHA / deconz combination to zigbee2mqtt for better interface and control reasons.
Writing automations is a bit cumbersome though, because getting the device ids is more difficult as i cannot use the event listener method as i did with deconz or zha events. But maybe i am wrong and there is a method working the same way for mqtt. So feel free to let me know if you have a more efficient method.
To get the device ids i currently use HAs built in automation tool to build the automation i want and then i move the device id part from automations.yaml to my own yaml file.