Configure fake tem sensor from another device

I’m using Better Thermostat on my TRV’s and all but 1 are linked to Zigbee temp sensors and work fine. I have one I want to link to the tempature of my thermostat but it doesn’t seem to support reading the temperature from it.

Is there a way I can create a fake temperature sensor that will pull the temp data from my thermostat?

Yes you can use a template sensor.

template:
  - sensor:
      - name: Thermostat Temperature 
        unit_of_measurement: "°C" # or F
        state_class: measurement # only include this line if your want long term statistics 
        device_class: temperature 
        state: "{{ state_attr('climate.your_thermostat_here','current_temperature') }}"
        availability: "{{ state_attr('climate.your_thermostat_here','current_temperature')|is_number }}"
2 Likes

Perfect. Exactly what I wanted. Thanks

1 Like