Climate away_mode sets to off on reboot

Hi,

I use the climate:generic_thermostate component to control a couple of radiators in my cabin. I set it in away_mode when I’m not there and it works just fine. But after reboot (intentional or unintentional (power outage)) the away_mode switches to off.

Is it possible to set a default/startup value for the away_mode so it defaults to ‘on’ ?

# HEATING
climate:
  # Utbyggnad
  - platform: generic_thermostat
    name: Utbyggnad
    heater: group.220v_radiators
    target_sensor: sensor.247_temperature
    min_temp: 5
    max_temp: 25
    target_temp: 19
    cold_tolerance: 0.0
    hot_tolerance: 0.2
    away_temp: 9

From what I can see in the code (from the 0.69.1 release, since that’s what I’m using), the generic_thermostat climate platform supports reloading state, including away mode. If that’s not working for you, then I would suggest looking in the HA log to see if there are any clues. You’ll probably want debug logging enabled.

There is nothing in the logs related to the climate component at this moment. I’ll try to start the debug logging (never done this before) and see if I can find out some more.