Setting current temperature for a climate device from another sensor

My climate device (intesis) doesn’t read the current temperature
I do have another “weather” sensor that does read it and reports it to HA.
How can I set the “current_temperature” attribute of the climate device using the sensor?
The climate service doesn’t expose any option to set the current temperature but I see that through the UI it is possible to override entities state, maybe it can be used as part of automation?

Maybe others have ideas too, I myself use this
pmazz/ps_hassio_entities: Python script to handle state and attributes of existing sensors and entities (github.com)

In cofiguration.yaml:

climate:
  - platform: generic_thermostat
    name: Ogrzewanie dół
    heater: switch.piecrelay
    target_sensor: sensor.145135534910842_indoor_temperature
    min_temp: 15
    max_temp: 30    
    target_temp: 18
    cold_tolerance: 0.5
    hot_tolerance: 0.5
    min_cycle_duration:
      minutes: 15
    initial_hvac_mode: "off"
    precision: 0.5

In heater add your climate device and in target_sensor your temp sensor, works for me :wink:

1 Like

I ended up using this great add-on: https://github.com/jcwillox/hass-template-climate

We can’t set target device there: IntesisHome - Home Assistant

Thanks. I’ll check this. Also asked support to see from where the default ambient temperature comes from… Perhaps that would normally come from a wired controller.