Unify alerts whether programmed in YAML or the UI
This commit is contained in:
@ -15,7 +15,7 @@
|
|||||||
data: {}
|
data: {}
|
||||||
- service: script.text_notify
|
- service: script.text_notify
|
||||||
data:
|
data:
|
||||||
type: Critical
|
type: critical
|
||||||
title: Tornado Warning - TAKE COVER!
|
title: Tornado Warning - TAKE COVER!
|
||||||
message: The National Weather Service has issued a Tornado Warning for our area.
|
message: The National Weather Service has issued a Tornado Warning for our area.
|
||||||
Take Cover NOW!!!!
|
Take Cover NOW!!!!
|
||||||
@ -34,7 +34,7 @@
|
|||||||
message: A tornado warning has been issued, please take cover immediately! A
|
message: A tornado warning has been issued, please take cover immediately! A
|
||||||
tornado warning has been issued, please take cover immediately! A tornado
|
tornado warning has been issued, please take cover immediately! A tornado
|
||||||
warning has been issued, please take cover immediately!
|
warning has been issued, please take cover immediately!
|
||||||
type: Alert
|
type: alert
|
||||||
alias: Elevated TTS alert
|
alias: Elevated TTS alert
|
||||||
- delay:
|
- delay:
|
||||||
hours: 0
|
hours: 0
|
||||||
@ -457,19 +457,23 @@
|
|||||||
data: {}
|
data: {}
|
||||||
- service: script.max_brightness_cleanup
|
- service: script.max_brightness_cleanup
|
||||||
data: {}
|
data: {}
|
||||||
- service: notify.all_ios
|
- service: script.text_notify
|
||||||
data:
|
data:
|
||||||
title: Tornado Warning is cleared
|
title: Tornado Warning is cleared
|
||||||
message: Check your surroundings and make sure it is safe to leave cover
|
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:
|
data:
|
||||||
title: Tornado Warning is cleared
|
title: Tornado Warning is cleared
|
||||||
message: Check your surroundings and make sure it is safe to leave cover
|
message: Check your surroundings and make sure it is safe to leave cover
|
||||||
|
who: all
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
data:
|
data:
|
||||||
who: everywhere
|
who: everywhere
|
||||||
message: Tornado warning has been cleared. Check your surroundings and make
|
message: Tornado warning has been cleared. Check your surroundings and make
|
||||||
sure it is safe to leave cover.
|
sure it is safe to leave cover.
|
||||||
|
type: alert
|
||||||
- wait_template: '{{ is_state(''input_boolean.tornado_alarm'',''on'') }}'
|
- wait_template: '{{ is_state(''input_boolean.tornado_alarm'',''on'') }}'
|
||||||
continue_on_timeout: true
|
continue_on_timeout: true
|
||||||
timeout: 00:05:00
|
timeout: 00:05:00
|
||||||
|
@ -700,9 +700,9 @@ script:
|
|||||||
selector:
|
selector:
|
||||||
select:
|
select:
|
||||||
options:
|
options:
|
||||||
- Normal
|
- normal
|
||||||
- Alert
|
- alert
|
||||||
- Critical
|
- critical
|
||||||
sequence:
|
sequence:
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
@ -1054,16 +1054,16 @@ script:
|
|||||||
selector:
|
selector:
|
||||||
select:
|
select:
|
||||||
options:
|
options:
|
||||||
- Living Room
|
- living_room
|
||||||
- Basement
|
- basement
|
||||||
- Basement Google
|
- basement_google
|
||||||
- Common Areas
|
- common_areas
|
||||||
- Master Bedroom
|
- master_bedroom
|
||||||
- Kallen Bedroom
|
- kallen_bedroom
|
||||||
- Emma Bedroom
|
- emma_bedroom
|
||||||
- Kids Bedrooms
|
- kids_bedrooms
|
||||||
- All Bedrooms
|
- all_bedrooms
|
||||||
- Everywhere
|
- everywhere
|
||||||
message:
|
message:
|
||||||
name: 'Message'
|
name: 'Message'
|
||||||
description: 'This is the message you want Jarvis to read.'
|
description: 'This is the message you want Jarvis to read.'
|
||||||
@ -1095,9 +1095,9 @@ script:
|
|||||||
selector:
|
selector:
|
||||||
select:
|
select:
|
||||||
options:
|
options:
|
||||||
- Normal
|
- normal
|
||||||
- Alert
|
- alert
|
||||||
- Critical
|
- critical
|
||||||
variables:
|
variables:
|
||||||
voice: "{{ states('input_select.jarvis_voice') }}"
|
voice: "{{ states('input_select.jarvis_voice') }}"
|
||||||
sequence:
|
sequence:
|
||||||
|
Reference in New Issue
Block a user