Template sensor not showing up in area card

Can’t get my temperature from my Mill heater in the area card.

From my climate I’ve created a template sensor and sat it to the correct area… but It will not show up.

Add this to the Template Sensor’s configuration and see if that makes the Area card display it.

    device_class: temperature

Thank you so mutch!

1 Like

Hi, I’ve got a similar issue here with a Sensibo.



image

Template config:

sensor:
  - platform: template
    sensors:
      office_temperature:
        friendly_name: "Office Temperature"
        unit_of_measurement: "°C"
        value_template: "{{ state_attr('climate.downstairs', 'current_temperature') }}"
        device_class: temperature
      office_humidity:
        friendly_name: "Office Humidity"
        unit_of_measurement: "%"
        value_template: "{{ state_attr('climate.downstairs', 'current_humidity') }}"
        device_class: humidity

I tried the solution above and restarted.
I’m not entirely sure that the templated values are in the area, the Sensibo is.
Any assistance would be greatly appreciated.

edit - added template config