Recherche local_temperature

ce code a résolu mon problème.

template:
  - sensor:
      - name: "Test Temperature"
        unit_of_measurement: "°C"
        state: "{{ state_attr('climate.thermostat_ambiance', 'current_temperature') }}"
        device_class: temperature
        state_class: measurement