I’m trying to make a switch toggle, then pause for a second, then toglgle again. I am not an expert in YAML, so I hope this can be fixed by simply correcting my (newby/nooby ) code below.
This is what I tried in several combinations, but so far, no luck.
I won’t be wasting anymore time on the yaml in the card then.
I’ve got some automations running. Maybe I can start an automation from a button in Lovelace. That would be the easiest way for me
If it is going to be executed from the front end with a button, just create a script. It’s the same thing as an automation but there is no trigger. Your button would just call the script and run it.