blueprints/automation/wd-close-weather-notification.yaml aktualisiert
This commit is contained in:
@@ -13,25 +13,24 @@ blueprint:
|
|||||||
weather_sensor:
|
weather_sensor:
|
||||||
name: Weather Sensor
|
name: Weather Sensor
|
||||||
description: Optional weather entity to trigger notification
|
description: Optional weather entity to trigger notification
|
||||||
|
default: []
|
||||||
selector:
|
selector:
|
||||||
entity:
|
entity:
|
||||||
domain: weather
|
domain: weather
|
||||||
weather_trigger_states:
|
multiple: false
|
||||||
name: Weather Trigger States
|
weather_trigger_state:
|
||||||
default:
|
name: Weather Trigger State
|
||||||
- storm
|
description: Notify when weather entity is in this state (e.g. "rain")
|
||||||
- rain
|
default: rain
|
||||||
selector:
|
selector:
|
||||||
text:
|
text: {}
|
||||||
multiline: true
|
|
||||||
temperature_sensor:
|
temperature_sensor:
|
||||||
name: Temperature Sensor
|
name: Temperature Sensor
|
||||||
description: Optional temperature entity to trigger notification
|
description: Optional temperature entity to trigger notification
|
||||||
|
default: []
|
||||||
selector:
|
selector:
|
||||||
entity:
|
entity:
|
||||||
domain:
|
domain: sensor
|
||||||
- sensor
|
|
||||||
- weather
|
|
||||||
device_class: temperature
|
device_class: temperature
|
||||||
temp_above:
|
temp_above:
|
||||||
name: Notify if Temperature Above
|
name: Notify if Temperature Above
|
||||||
@@ -52,6 +51,7 @@ blueprint:
|
|||||||
notify_service:
|
notify_service:
|
||||||
name: Notification Service
|
name: Notification Service
|
||||||
description: Enter the notify service (e.g. notify.mobile_app_myphone, notify.alexa_media_livingroom, notify.telegram)
|
description: Enter the notify service (e.g. notify.mobile_app_myphone, notify.alexa_media_livingroom, notify.telegram)
|
||||||
|
default: notify.notify
|
||||||
selector:
|
selector:
|
||||||
text: {}
|
text: {}
|
||||||
custom_message:
|
custom_message:
|
||||||
@@ -68,7 +68,7 @@ blueprint:
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: !input weather_sensor
|
entity_id: !input weather_sensor
|
||||||
to: "{{ !input weather_trigger_states.split(',') | map('trim') | list }}"
|
to: !input weather_trigger_state
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: !input temperature_sensor
|
entity_id: !input temperature_sensor
|
||||||
above: !input temp_above
|
above: !input temp_above
|
||||||
|
|||||||
Reference in New Issue
Block a user