blueprints/automation/wd-close-weather-notification.yaml aktualisiert

This commit is contained in:
2025-08-30 10:19:52 +00:00
parent f2d17ea420
commit c6677f1501

View File

@@ -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."