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

This commit is contained in:
2025-08-30 09:00:01 +00:00
parent a098ddcd05
commit 4e3989956e

View File

@@ -18,7 +18,6 @@ blueprint:
domain: weather domain: weather
weather_trigger_states: weather_trigger_states:
name: Weather Trigger States name: Weather Trigger States
description: Select weather states that should trigger notification
default: default:
- storm - storm
- rain - rain
@@ -50,12 +49,11 @@ blueprint:
min: -50 min: -50
max: 50 max: 50
unit_of_measurement: °C unit_of_measurement: °C
notify_target: notify_service:
name: Notification Service name: Notification Service
description: Select the notify service (mobile app, Alexa, Telegram, etc.) description: Enter the notify service (e.g. notify.mobile_app_myphone, notify.alexa_media_livingroom, notify.telegram)
selector: selector:
entity: text: {}
domain: notify
custom_message: custom_message:
name: Custom Notification Message name: Custom Notification Message
default: "{{ entity_name }} is open! Trigger: {{ trigger_state }}" default: "{{ entity_name }} is open! Trigger: {{ trigger_state }}"
@@ -63,7 +61,6 @@ blueprint:
text: {} text: {}
emergency: emergency:
name: Emergency Notification name: Emergency Notification
description: Send as a critical notification (only supported on iOS mobile app)
default: false default: false
selector: selector:
boolean: {} boolean: {}
@@ -89,7 +86,7 @@ action:
selected_openings: !input openings selected_openings: !input openings
selected_temp_sensor: !input temperature_sensor selected_temp_sensor: !input temperature_sensor
selected_weather: !input weather_sensor selected_weather: !input weather_sensor
selected_notify_target: !input notify_target selected_notify_service: !input notify_service
selected_custom_message: !input custom_message selected_custom_message: !input custom_message
emergency_mode: !input emergency emergency_mode: !input emergency
open_entities: > open_entities: >
@@ -105,7 +102,7 @@ action:
unknown unknown
{% endif %} {% endif %}
- service: "{{ selected_notify_target }}" - service: "{{ selected_notify_service }}"
data: data:
message: > message: >
{% for entity_name in open_entities %} {% for entity_name in open_entities %}