Sensor from an attribute?

Hi

How can I create a sensor from a climate attribute that will constantly update so that it can be used in dashboards such as gauges (which currently only show MODE) etc, and in other sensors

I managed to get a template sensor but it doesn’t update.

template:
     sensors:
         guest_temp:
             friendly_name: "Guest Current"
             value_template: "{{ state_attr('climate.small_bedroom', 'current_temperature') }}"
             unit_of_measurement: "°C"   

so things like this won’t work

  - platform: temperature_feels_like
    name: 'Guest FLT 2'
    source:
      - sensor.temperature_humidity_sensor_humidity
      - sensor.guest_temp

Please point me to an example, it takes me days to figure out answers like “simply use X” :slight_smile:

Thanks

Perfect answer, thank you so much, I had it in use where I needed it in minutes

:slight_smile: