Im setting up an MQTT relay/switch to control a garage door. I already have it set up to turn on and off with the toggle switch but I need to be able to click the switch and it turn on than off (Switch just needs to click on than off). Im sure there is a way to set up a script but im a complete noob at scripting for HA and didn’t find any examples. Any help would be appreciated.
Not sure this is what I’m looking for. I need the switch to turn off the second after it’s turned on.
Change minutes: 10
to seconds: 1
1 Like