From a098ddcd0585fb0ed135f1cb934d2e158c6cde97 Mon Sep 17 00:00:00 2001 From: thomas Date: Sat, 30 Aug 2025 08:59:18 +0000 Subject: [PATCH] blueprints/automation/wd-close-weather-notification.yaml aktualisiert --- .../automation/wd-close-weather-notification.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/blueprints/automation/wd-close-weather-notification.yaml b/blueprints/automation/wd-close-weather-notification.yaml index 5152576..0452935 100644 --- a/blueprints/automation/wd-close-weather-notification.yaml +++ b/blueprints/automation/wd-close-weather-notification.yaml @@ -36,7 +36,6 @@ blueprint: device_class: temperature temp_above: name: Notify if Temperature Above - description: Optional threshold to trigger notification default: 22 selector: number: @@ -45,7 +44,6 @@ blueprint: unit_of_measurement: °C temp_below: name: Notify if Temperature Below - description: Optional threshold to trigger notification default: 17 selector: number: @@ -53,11 +51,11 @@ blueprint: max: 50 unit_of_measurement: °C notify_target: - name: Notification Target - description: Select one or more valid notify services (mobile app, Alexa, Telegram, etc.) + name: Notification Service + description: Select the notify service (mobile app, Alexa, Telegram, etc.) selector: - target: - integration: notify + entity: + domain: notify custom_message: name: Custom Notification Message default: "{{ entity_name }} is open! Trigger: {{ trigger_state }}" @@ -84,7 +82,7 @@ trigger: condition: - condition: state entity_id: !input openings - state: 'on' + state: "on" action: - variables: @@ -107,8 +105,7 @@ action: unknown {% endif %} - - service: notify.notify - target: !input notify_target + - service: "{{ selected_notify_target }}" data: message: > {% for entity_name in open_entities %}