Timbo66
(Tim Schroeder)
January 23, 2023, 4:52pm
1
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
Rofo
(Ro)
January 23, 2023, 5:24pm
2
Try adding:-
unique_id: some_name_here
Or failing that, restart HA (or use the dev tools option to restart generic thermostat)
Timbo66
(Tim Schroeder)
January 23, 2023, 5:33pm
3
Tried that, no change. I restart HA after every yaml change
BebeMischa
(Bebe Mischa)
January 23, 2023, 6:24pm
4
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
Timbo66
(Tim Schroeder)
January 25, 2023, 1:00am
6
Can anyone suggest how to troubleshoot the Generic Thermostat integration? How do I know it’s even loaded?
Timbo66
(Tim Schroeder)
January 26, 2023, 3:26am
7
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