Generic Thermostat not showing up

I’m trying to create a generic thermostat. I added the following to my configuration.yaml file and restarted HA however the device does not show up in my “Entities” in the GUI, nor can I add it to a dashboard. Any suggestions how to troubleshoot this?

climate:
  - platform: generic_thermostat
    name: Pool_Thermostat
    heater: switch.pool_heater
    target_sensor: sensor.pool_water_temp
    min_temp: 50
    max_temp: 99
    ac_mode: false
    target_temp: 85
    hot_tolerance: 1.0
    min_cycle_duration:
      seconds: 5
    initial_hvac_mode: "off"
    away_temp: 80
    precision: 1.0

I also tried to create a minimal configuration as described in the docs. It doesn’t show up anywhere either.

climate:
  - platform: generic_thermostat
    name: Study_Thermostat
    heater: switch.pool_heater
    target_sensor: sensor.pool_water_temp

Try adding:-

unique_id: some_name_here

Or failing that, restart HA (or use the dev tools option to restart generic thermostat)

Tried that, no change. I restart HA after every yaml change

For me it works this way:

climate:
  - platform: generic_thermostat
    name: Study_Thermostat
    heater:
      - entity_id: switch.pool_heater
    target_sensor: sensor.pool_water_temp

Tried that, no change

Can anyone suggest how to troubleshoot the Generic Thermostat integration? How do I know it’s even loaded?

Oddly, after deleting the entire section from configuration.yaml and adding it again, it’s working. Perhaps there were some tabs in there (which should have been spaces). I don’t know. But it works now, thank you.

1 Like

I have the same problem.
Can you show how your configuration.yaml looks like?

Because I can’t see any think worng with my:

Loads default set of integrations. Do not remove.

default_config:

Load frontend themes from the themes folder

frontend:
themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

Best regards from DK
Brian