From c6677f15015b711cb1ef932bd1b0b1c8f0d3711f Mon Sep 17 00:00:00 2001 From: thomas Date: Sat, 30 Aug 2025 10:19:52 +0000 Subject: [PATCH] blueprints/automation/wd-close-weather-notification.yaml aktualisiert --- .../wd-close-weather-notification.yaml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/blueprints/automation/wd-close-weather-notification.yaml b/blueprints/automation/wd-close-weather-notification.yaml index a81b5cf..57ff5ac 100644 --- a/blueprints/automation/wd-close-weather-notification.yaml +++ b/blueprints/automation/wd-close-weather-notification.yaml @@ -1,6 +1,6 @@ blueprint: name: Open Windows/Doors Monitor - description: Monitors selected windows/doors and lists the ones that are open. + description: Shows all selected windows/doors that are currently open. domain: automation input: opening_sensors: @@ -10,12 +10,6 @@ blueprint: entity: domain: binary_sensor multiple: true - notify_service: - name: Notification Service - description: Select a notify service - selector: - entity: - domain: notify trigger: - platform: state @@ -35,17 +29,17 @@ action: - choose: - conditions: "{{ open_sensors | length > 0 }}" sequence: - - service: !input notify_service + - service: persistent_notification.create data: + title: "Open Windows/Doors" message: > - Open windows/doors: + The following windows/doors are open: {% for d in open_sensors %} - {{ d }} {% endfor %} - title: "Open Windows/Doors" - conditions: "{{ open_sensors | length == 0 }}" sequence: - - service: !input notify_service + - service: persistent_notification.create data: - message: "All selected windows/doors are closed." title: "Window/Door Status" + message: "All selected windows/doors are closed."