You should have an event entity for the button.
event.button_1
This will change state depending on how many times it is pressed.
There’s a blueprint for this you could use: ZHA Aqara Button (press, double press, hold actions)
You should have an event entity for the button.
event.button_1
This will change state depending on how many times it is pressed.
There’s a blueprint for this you could use: ZHA Aqara Button (press, double press, hold actions)