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:
The good syntax is now (without spaces)
http:// 192.168.xxx.xxx / rpc / Switch.SetConfig?id=0&config={“auto_off_delay”:3600}
Where should I put this code? In an action? Which action?
Thank you very much.