Changed the way status_annc is called for lightning alerts
This commit is contained in:
@ -1555,15 +1555,7 @@ script:
|
|||||||
data_template:
|
data_template:
|
||||||
who: 'living_room'
|
who: 'living_room'
|
||||||
call_interuption: 1
|
call_interuption: 1
|
||||||
speech_message: >-
|
call_lightning_alert: 1
|
||||||
<p>
|
|
||||||
{{ [
|
|
||||||
'I have detected lightning withing 20 miles of the house.',
|
|
||||||
'Did you see that flash? I did. Lightning is near.',
|
|
||||||
'If you didnt hear the thunder you will soon. '
|
|
||||||
]|random }}
|
|
||||||
If anyone is outside they should seek shelter inside.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
lightning_clear_audible:
|
lightning_clear_audible:
|
||||||
sequence:
|
sequence:
|
||||||
@ -1574,15 +1566,7 @@ script:
|
|||||||
data_template:
|
data_template:
|
||||||
who: 'living_room'
|
who: 'living_room'
|
||||||
call_interuption: 1
|
call_interuption: 1
|
||||||
speech_message: >-
|
call_lightning_clear: 1
|
||||||
<p>
|
|
||||||
{{ [
|
|
||||||
'Lightning threat appears to be over.',
|
|
||||||
'No more lightning appears to be occurring.',
|
|
||||||
'Lightning is gone.'
|
|
||||||
]|random }}
|
|
||||||
It is safe to resume normal activities.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
## Script creates UI notification and is called via automation defined above
|
## Script creates UI notification and is called via automation defined above
|
||||||
weatheralerts_popup_on_wx_alert:
|
weatheralerts_popup_on_wx_alert:
|
||||||
|
Reference in New Issue
Block a user