diff --git a/blueprints/automation/wd-close-weather-notification.yaml b/blueprints/automation/wd-close-weather-notification.yaml index d28dc78..1842363 100644 --- a/blueprints/automation/wd-close-weather-notification.yaml +++ b/blueprints/automation/wd-close-weather-notification.yaml @@ -87,7 +87,7 @@ action: {% for ent_id in selected_openings %} {% set state_obj = states(ent_id) %} {% if state_obj and state_obj.state == 'on' %} - {% set _ = open_list.append(state_obj.attributes.friendly_name) %} + {% set _ = open_list.append(state_obj.attributes.friendly_name | default(ent_id)) %} {% endif %} {% endfor %} {{ open_list }}