Convert Elk M1 switch to temporary switch

I’m trying to convert a switch to a temporary switch.

Elk M1 has exposes a switch that opens the garage.
image

There’s also a sensor that measures whether the garage door is open (violated) or closed (normal).
image

The annoying thing is in order to open / close the garage door I have to press the switch on the dashboard twice as it toggles the switch. The garage door opens/closes when switch=on; given it’s a switch, once I press it’s on and need to be pressed again to go off. Is there a way via helpers/template switch etc. to make the switch automatically go back to off once activated (i.e. as measured by the sensor state)?

Hi Tom,
Within HA I added an automation to automatically close the the switch after 2 seconds.

It works for me.

Thanks. That looks like an easy solution. What type of card do you use on the dashboard to open and close the garage door?

Edit: I probably just answered my question. You should be able to use the tap action to call the automation, right?

I have programmed “task’s” in to the ELKM1 with ELK-RP software directly.
The task when triggered closes the relay then opens it after 2 seconds.

The “task” appears with HA as scene, which I have used as a button on the dashboard and also in to Apple HomeKit Integration.

Ok. Been a while since I last used ElkRP. I probably try the HA automation first…

Managed to get this going. Thanks again for the tip. I’m at the beginning of my automation journey :slight_smile: