Weather notifications now use text alert instead of notify
This commit is contained in:
@ -1497,7 +1497,7 @@ automation:
|
|||||||
entity_id: input_boolean.lightning_warning
|
entity_id: input_boolean.lightning_warning
|
||||||
state: 'off'
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: script.text_notify_all
|
- service: script.text_alert
|
||||||
data:
|
data:
|
||||||
title: "Lightning Detected!"
|
title: "Lightning Detected!"
|
||||||
message: >-
|
message: >-
|
||||||
@ -1518,7 +1518,7 @@ automation:
|
|||||||
entity_id: input_boolean.lightning_warning
|
entity_id: input_boolean.lightning_warning
|
||||||
state: 'on'
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: script.text_notify_all
|
- service: script.text_alert
|
||||||
data:
|
data:
|
||||||
title: "Lightning Clear"
|
title: "Lightning Clear"
|
||||||
message: "The lightning threat has passed. It is safe to resume normal activities."
|
message: "The lightning threat has passed. It is safe to resume normal activities."
|
||||||
@ -1547,7 +1547,7 @@ automation:
|
|||||||
entity_id: binary_sensor.windows
|
entity_id: binary_sensor.windows
|
||||||
state: 'on'
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: script.text_notify_all
|
- service: script.text_alert
|
||||||
data:
|
data:
|
||||||
title: "WINDOWS ARE OPEN!"
|
title: "WINDOWS ARE OPEN!"
|
||||||
message: "It is raining and there are windows open in the house. Please close them!"
|
message: "It is raining and there are windows open in the house. Please close them!"
|
||||||
|
Reference in New Issue
Block a user