Generic Thermostat not triggering

Hi guys, I have a simple question. Why is the generic thermostat not triggering heating when Home Assistant is restarted? It stays stuck in ‘Idle’ despite the keep_alive settings in YAML.

image

configuration.yaml:

  - platform: generic_thermostat
    name: Kids Radiator
    heater: switch.smart_plug_3
    target_sensor: sensor.temp_sensor_1_temperature
    min_temp: 17
    max_temp: 23
    ac_mode: false
    
    min_cycle_duration:
      seconds: 5
    keep_alive:
      minutes: 3
    precision: 0.1

On reboot, it will reload the previous settings if it can. What are your cold/heat tolerances? It needs the current temp (20.2 in your pic?) to be BELOW your target temp (21.1) minus your cold tolerance.

So, if you have a cold tolerance of 1deg, that would be 21.1 - 1 = 20.1, and since your current temp is 20.2, that’s considered within tolerance and won’t turn the heat on.

Also, the thermostat only triggers on/off upon temperature changes or from manually triggering it by turning it on/off or adjusting the set point temp. The keep-alive setting causes it to re-send an on or off state (whatever the current state is) to the device at the configured interval. It doesn’t change anything, or re-evaluate the temp/status or anything else.