blueprints/automation/wd-close-weather-notification.yaml aktualisiert
This commit is contained in:
@@ -18,7 +18,6 @@ blueprint:
|
||||
domain: weather
|
||||
weather_trigger_states:
|
||||
name: Weather Trigger States
|
||||
description: Select weather states that should trigger notification
|
||||
default:
|
||||
- storm
|
||||
- rain
|
||||
@@ -50,12 +49,11 @@ blueprint:
|
||||
min: -50
|
||||
max: 50
|
||||
unit_of_measurement: °C
|
||||
notify_target:
|
||||
notify_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:
|
||||
entity:
|
||||
domain: notify
|
||||
text: {}
|
||||
custom_message:
|
||||
name: Custom Notification Message
|
||||
default: "{{ entity_name }} is open! Trigger: {{ trigger_state }}"
|
||||
@@ -63,7 +61,6 @@ blueprint:
|
||||
text: {}
|
||||
emergency:
|
||||
name: Emergency Notification
|
||||
description: Send as a critical notification (only supported on iOS mobile app)
|
||||
default: false
|
||||
selector:
|
||||
boolean: {}
|
||||
@@ -89,7 +86,7 @@ action:
|
||||
selected_openings: !input openings
|
||||
selected_temp_sensor: !input temperature_sensor
|
||||
selected_weather: !input weather_sensor
|
||||
selected_notify_target: !input notify_target
|
||||
selected_notify_service: !input notify_service
|
||||
selected_custom_message: !input custom_message
|
||||
emergency_mode: !input emergency
|
||||
open_entities: >
|
||||
@@ -105,7 +102,7 @@ action:
|
||||
unknown
|
||||
{% endif %}
|
||||
|
||||
- service: "{{ selected_notify_target }}"
|
||||
- service: "{{ selected_notify_service }}"
|
||||
data:
|
||||
message: >
|
||||
{% for entity_name in open_entities %}
|
||||
|
||||
Reference in New Issue
Block a user