I’ve got a Tasmota flashed Sonoff SV1 to control my garage door. I have created a button card that activates the relay for .5s through the Inching function within Tasmota, Great.
I then installed two reed switches to detect when the door is open and shut. I created Template entity that takes the reed switch entities and gives me a three state of Open, in between, and Closed. I’ve created a button card based on this that shows through 3 different icons (garage, garage-alert, garage-open). Great.
I’m stuck on trying to modify that card to activate the door. I assume I have to edit the code in the card with some form of service call to the other entity but it doesn’t work.
My current template entity card code which doesn’t do anything is:
Still doesn’t work. As soon as I get to the topic line the Button Card editor says “UI editor is not supported for this config: Key tap_action is not supported bu the UI editor. You can still edit your config in ymal” -
Got it working now. The code I posted above was copied from the official documentation! It didn’t work
The code below was from something I saw on the community forum after a lot of searching. It works fine so now I am ready to install the whole thing on my garage door.