Platform not found: 'climate.generic_thermostat'

I’ve been scouring the net for some time trying to find a “consistent” solution to this simple problem.

It appears that whenever i try to use the generic_thermostat wich should be implemented in HA this error message pop up

Platform not found: ‘climate.generic_thermostat’.

I’m not really sure what is the cause of this issue, climate.thermostat just works fine but not the generic.

For reference, i’ve been following the official HA documentation and code though i’ve had no luck in finding a solution.

Is there a reason this is in the ESPHome Category?

It happened while i was tinkering with my esp32 switches and the error message poped up, so i tought to flair it in the esphome category

Doubtful that it is related.

Show your climate config.

I just copied the code following the official documentation on HA.

climate:
  - platform: generic_thermostat
    name: lab
    heater: lab1
    target_sensor: labEnv

Whenever i press install the following appears :

Failed config

climate.generic_thermostat: [source /config/esphome/esphome-web-a783d8.yaml:33]
  
  Platform not found: 'climate.generic_thermostat'.

Edit: spelling

if you copied it from here:

and try to use it in an esphome yaml file, it won’t work.

It is code that goes in HA’s configuration.yaml

1 Like

I see, thank you for the clarification, I have misread the documentation…

Now it’s working thank you :slight_smile: