When i try this in the template editor i get the correct value.
{{ state_attr('climate.family_room', 'temperature') }}
When i use this in an automation it doesn’t work ?
action: climate.set_temperature
metadata: {}
data:
temperature: {{ state_attr('climate.family_room', 'temperature') }}
hvac_mode: heat
target:
entity_id: climate.woonkamer_airco
I did some research in Templating but couldn’t find it.