ZHA Sonoff Button (press, double press, hold actions)

I am having issues where the automation only works while on the pairing screen. As soon as i leave the pairing screen the automation stops working. Does anyone have any thoughts?

Hey team! Just signed up to say that if you’re using the Sonoff Bridge and Zigbee2MQTT, then you can just pop ‘single’ or ‘double’ into the automations ‘to (optional)’ box and it’ll work fine.

1 Like

Thanks man!

OMG thank you!!! I have been banging my head as to why the button was generating literally no events, nothing… and was paired successfully. This was it. I even removed the integration and repaired it and nothing happened.

Tried your advice and it instantly started working… so odd!

For anyone else, this is all I did:
Go to Zigbee Integration, click on Devices, Add Device. Press and hold the button on the Sonnoff button for 5 seconds. Wait until the dashboard shows the device.

Thats it. Now it will start working… :slight_smile:

this blueprint stopped working a while ago…

I had it working with ZHA before…

how do I get it working again?