A way to revert back to HVAC temps after an automation changed them?

Hi! I’m still a beginner without a background in programming, so I don’t really know if this is currently impossible, very difficult or perhaps easy. This is my situation: I’m renting a cottage to tourists. I’m giving them local network access to HA to configure the thermostats in different rooms according to their liking. I’d like to add a toggle to trigger an automation to lower the temps when someone is going away for a few hours. Is there an easy way to either have a toggle to revert back to original temps or set a timer?

Thanks for all suggestions : )

E.g. you could use generic_thermostat climate platform and set an away mode:

1 Like