An attribute as a sensor-> source climate

Hello all,

I am looking for a solution to put from my climate an attribute as a sensor.

source: climate.wohnzimmer
attribute: current_temperature

Does anyone have a tip for me??

Use a template sensor.

  - sensor:
      - name: "Wohnzimmer Current Temperature"
        unit_of_measurement: "°C"
        state: >
          {{ state_attr('climate.wohnzimmer', 'current_temperature') }}
1 Like