Unify alerts whether programmed in YAML or the UI
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
data: {}
|
||||
- service: script.text_notify
|
||||
data:
|
||||
type: Critical
|
||||
type: critical
|
||||
title: Tornado Warning - TAKE COVER!
|
||||
message: The National Weather Service has issued a Tornado Warning for our area.
|
||||
Take Cover NOW!!!!
|
||||
@ -34,7 +34,7 @@
|
||||
message: A tornado warning has been issued, please take cover immediately! A
|
||||
tornado warning has been issued, please take cover immediately! A tornado
|
||||
warning has been issued, please take cover immediately!
|
||||
type: Alert
|
||||
type: alert
|
||||
alias: Elevated TTS alert
|
||||
- delay:
|
||||
hours: 0
|
||||
@ -457,19 +457,23 @@
|
||||
data: {}
|
||||
- service: script.max_brightness_cleanup
|
||||
data: {}
|
||||
- service: notify.all_ios
|
||||
- service: script.text_notify
|
||||
data:
|
||||
title: Tornado Warning is cleared
|
||||
message: Check your surroundings and make sure it is safe to leave cover
|
||||
- service: notify.tv_notifications
|
||||
who: all
|
||||
type: alert
|
||||
- service: script.tv_notify
|
||||
data:
|
||||
title: Tornado Warning is cleared
|
||||
message: Check your surroundings and make sure it is safe to leave cover
|
||||
who: all
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
who: everywhere
|
||||
message: Tornado warning has been cleared. Check your surroundings and make
|
||||
sure it is safe to leave cover.
|
||||
type: alert
|
||||
- wait_template: '{{ is_state(''input_boolean.tornado_alarm'',''on'') }}'
|
||||
continue_on_timeout: true
|
||||
timeout: 00:05:00
|
||||
|
Reference in New Issue
Block a user