You need to trigger on zha_event and then parse the json, it’s not very straightforward last I checked but doable. Or, look for a blueprint that supports your button.
post
replies:
Try Switch Manager on HACS. Makes it very easy to configure Zigbee switches.
all 4 comments