In my vacation house, I try to automaticly put a heat pump in preset_mode “away” when the sun is down and to “none” preset_mode when sun is up and warming.
But I cannot get the automation to work correct.
It switches to “away” mode in afternoon but it does not go to “none” in the beginning of the day.
What am I doing wrong?
Apparently you can’t set preset_mode to none via the climate.set_preset_mode service. I ran into the same problem when I was trying to set my Nest thermostat to eco mode and then back to what it was before. My solution is documented below. I think the same would work for you, except substitute away for when I use eco.
I used to be able to do so when I was using away_mode. As far as I remember they muddled it up and wanted “None” instead of ‘none’ despite showing it ‘none’ in UI.
Anyway, I think they’ve fixed it in generic_thermostat BUT I’d discourage people of using away preset as it’s buggy there (for example, it always gets the away_temperature from the config so if you change it in UI, it will be lost after going away → none), I just ended up creating my own set of automations to store/activate night/normal presets.
Just in case you still need it, here’s my automations dealing with away preset: