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

This commit is contained in:
2025-08-30 08:59:18 +00:00
parent 71333e7265
commit a098ddcd05

View File

@@ -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 %}