Generic Thermostat didn't work

A trying Generic Thermostat, but still didn’t work.

Tuya HUB and
Aqara relay (entity ID light.bfe6f7c88bd8b21e1ayx17)
Aqara Temperature Sensor (entity ID climate.bf6a71b72976707b29xkye)

# Termostat
climate:
  - platform: generic_thermostat
    name: Termostat_vlastny
    heater: light.bfe6f7c88bd8b21e1ayx17
    target_sensor: climate.bf6a71b72976707b29xkye
    min_temp: 12
    max_temp: 26
    ac_mode: false
    target_temp: 17
    cold_tolerance: 0.5
    hot_tolerance: 0.5
    min_cycle_duration:
      seconds: 5
    keep_alive:
      minutes: 3
    initial_hvac_mode: "off"
    away_temp: 16
    precision: 0.1

aaaaccccccc

Thank you

This doesn’t appear to be correct:

    target_sensor: climate.bf6a71b72976707b29xkye

It requires a (temperature) sensor entity but you have assigned it a climate entity.

The state value of a climate entity is not a numeric value (like 20 or 21), it’s a string value (like ‘heat’ or ‘cool’). It’s not the correct entity to assign to target_sensor.

1 Like