Hi there. I want to implement a safe way to turn on the switches controlling my heating floor valves so insted of sending th turno and turn off commands separately, send an ON and AUTO_OFF order at the same time. If the HA connection blackout, the valve still would be closed.
I read kind of a code in apost biut don’t know how to implement it on an automation YAML code. I found this code from a Jan-Helge Karlsson: