Climate card not working anymore

Hi,
After an update I got the message

Manually configured MQTT sensor(s) found under platform key sensor.

This was because my sensor were configured like this:

sensor:
  -platform: mqtt
    name: "temp0_1"
    state_topic: "sensor/temp0_1"

I changed this to

mqtt:
  sensor:
  - name: "temp0_1"
    state_topic: "sensor/temp0_1"

which got rid of the error, but now my climate cards aren’t working anymore.
Any idea how to fix this?
climate card is configure like this:

climate:
  - platform: generic_thermostat
    name: Atelier0_1
    heater: switch.sw_h0_1
    target_sensor: sensor.temp0_1

Have a look in Developer Tools / States to see if the new sensor has the same name as the old (might have picked up a _2 if both were live at the same time); and check its state is still correct.

Ok I’ve solved it myself,
I had changed everything to the new format and I had 2 mqtt zones

mqtt:
  sensor:
blabla
mqtt:
  switch:
blabla

which was wrong…

1 Like