diff --git a/blueprints/automation/wd-close-weather-notification.yaml b/blueprints/automation/wd-close-weather-notification.yaml index fd48650..03f6727 100644 --- a/blueprints/automation/wd-close-weather-notification.yaml +++ b/blueprints/automation/wd-close-weather-notification.yaml @@ -82,9 +82,9 @@ action: selected_openings: !input openings message_template: !input custom_message notify_service_name: !input notify_service - # Get only entities that are currently 'on' open_entities: > {{ selected_openings + | map('string') | map('states') | selectattr('state','eq','on') | map(attribute='attributes.friendly_name')