Generic Thermostat always “idle” never begins “heating”

Hello!

Seems that the generic_thermostat has cased issues in the past, but I cant seem to find a live issue right now, so here’s my config and issue:

Version core-2021.6.4
Installation Type Home Assistant OS
Development false
Supervisor true
Docker true
Python Version 3.8.9

I have only just started to create a zonal heating automation, running off generic thermostats, in climate.yaml I have:

  - platform: generic_thermostat
    name: Bathroom
    heater: switch.bathroom_heating_demand
    target_sensor: sensor.bathroom_temperature

And my thermostat never begins heating, its only ever “idle”

The switch is responding to the thermostat config, if i manually toggle it “on” it snaps back to off after a second or two.

I haven’t got any deeper config than that, I’ve stumbled at my very first hurdle :stuck_out_tongue: there is one small wrinkle, the switch. is coming in from ESP home? But it really feels to me like the generic thermostat “code” is broken. I Would be very happy to have made a stupid mistake. More than happy to help troubleshoot. And and all input welcome :slight_smile:

Thanks!

Sounds like your switch is not working correctly. Check that first.

1 Like

Your right, i commented out the thermostat, and the switch is still behaving strangely, will have a dig, thanks for the tip, that looked like expected behaviour to my eyes.

Thanks @tom_l it was a misconfigured switch.

For anyone finding this in the future. The switch config in ESP home was a template platform switch, and needed the flag optimistic Set to true

1 Like

Thanks, this helped me out!