Hi all,
I’m trying to get the area_name
for an entity_id
given by Jinja2 filter.
The below is working correctly and giving me the friendly_name
of the entity that matches.
{{ states.climate | selectattr('attributes.preset_mode', 'defined') | selectattr('attributes.preset_mode', 'eq', 'Override')|map(attribute='attributes.friendly_name') |list }}
Is there anyway to output the area name rather than the friendly name?
thanks!