Closes #830 - Nest announcements should only occur for an actual emergency.

This commit is contained in:
ccostan 2020-07-28 14:30:37 -04:00
parent 3f29fcd8c4
commit 4117e22672
1 changed files with 7 additions and 0 deletions

View File

@ -36,6 +36,13 @@ automation:
action:
- service: input_boolean.turn_on
entity_id: input_boolean.alert_mode
- service: script.speech_engine
data_template:
value1: "The {{ trigger.to_state.attributes.friendly_name }} is now {{ (trigger.to_state.state)|replace('_', ' ') }}. Please check immediately."
- service: script.notify_engine
data_template:
value1: "An emergency has been detected on {{ trigger.to_state.attributes.friendly_name }} Please investigate IMMEDIATELY."