From 686c0a387733029658d83aa90d06e0c28fd95579 Mon Sep 17 00:00:00 2001 From: thomas Date: Sat, 30 Aug 2025 10:21:36 +0000 Subject: [PATCH] blueprints/automation/wd-close-weather-notification.yaml aktualisiert --- .../automation/wd-close-weather-notification.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/blueprints/automation/wd-close-weather-notification.yaml b/blueprints/automation/wd-close-weather-notification.yaml index 7cac076..e400063 100644 --- a/blueprints/automation/wd-close-weather-notification.yaml +++ b/blueprints/automation/wd-close-weather-notification.yaml @@ -5,21 +5,18 @@ blueprint: input: opening_sensors: name: Window/Door Sensors - description: Select the sensors to monitor selector: entity: domain: binary_sensor multiple: true notify_service: name: Notification Service - description: Select the notify service to use for alerts + description: Enter the notify service (e.g., notify.mobile_app_phone) + default: notify.notify selector: - action: - service: - domain: notify + text: trigger: - # Trigger when the state of any selected sensor changes - platform: state entity_id: !input opening_sensors @@ -37,7 +34,7 @@ action: - choose: - conditions: "{{ open_sensors | length > 0 }}" sequence: - - service: !input notify_service + - service: "{{ notify_service }}" data: title: "Open Windows/Doors" message: > @@ -47,7 +44,7 @@ action: {% endfor %} - conditions: "{{ open_sensors | length == 0 }}" sequence: - - service: !input notify_service + - service: "{{ notify_service }}" data: title: "Window/Door Status" message: "All selected windows/doors are closed."