I have a smart switch installed and I setup it up with home assistant. The smart switch is not physically connected to anything.
I currently have an automation setup that turning on the switch will turn on the smart plug that my garage opener is plugged into, then HA wait 30 seconds, then it opens the garage door (MyQ).
I was wondering if it was possible to set it up so that if I flip the smart switch on and off once, it would only turn on the smart plug.
But if I flip the smart switch on and off twice, then it would turn on the smart plug plus will wait the 30 seconds and then open the garage door.
alias: Open Garage Door Automation
- platform: device
- type: turn_on
- device_id: 231228fb225669dc20eb810929cd27eb