How to react to button click from Zigbee2Mqtt? #695
Replies: 1 comment 1 reply
-
Hey @Hugo-Persson 👋 There is an You should be able to do something like this: @mqtt_trigger("zigbee2mqtt/light.example", "payload == 'on' or payload == 'off'") |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I have the following trigger that I want to convert to pyscript
How would I do this? Any help would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions