Trying to follow simple (and recent!) examples in Home Assistant docs and forum to set my ecobee thermostat to away mode when nobody’s home. However the service “climate.set_away_mode” appears to be missing in my HA environment. I have the following selections available to me.
Has anyone else encountered this? As an alternative I’ve tried using climate.set_preset_mode to put my ecobee in away mode, this works but it only lasts until the next thermostat schedule change. I want this automation to set away mode permanently.
set_away_mode has been removed as part of the climate architectural clean up. set_preset_mode("away") is the correct replacement. I can’t say why it isn’t working how you expect it to, but set_away_mode won’t be available.
I’m a bit stumped as to why the changes don’t persist across schedule boundaries, but I guess my first next step is to read the links you shared, and see if the appropriate guidance exists in there. If I get it working, I’ll share my configuration here for the benefit of all.
Looks like I was on the right track. This post helped, as it clarified to me only “away” is treated as indefinite, other climate modes are wiped out by a schedule change in ecobee, and I just happened to be testing using a custom climate mode
I resolved my non-persistent away mode problem. Turns out there’s a simple way to select between persistent and non-persistent “away” mode, with the ecobee at least. I posted my findings in another thread here.