I am trying to write a script to
- Read the states of the zone valves for the heating system
- Close all valves
- Open them one at a time for a few minutes each
- Reinstate the previous settings
I have 1-3 but I don’t understand how to achieve 4?
I am trying to write a script to
I have 1-3 but I don’t understand how to achieve 4?
Use this method to store the state of your valves:
https://www.home-assistant.io/integrations/scene/#creating-scenes-on-the-fly
Do your actions, then restore the scene you created.
I’ve implemented as per your recommendation and everything is working. Thank you for your help!