Fixing broken open door audbile message

This commit is contained in:
Jeffrey Stone 2020-04-24 14:42:47 -04:00
parent 2f230ae3af
commit 5e298dff33
1 changed files with 22 additions and 10 deletions

View File

@ -205,11 +205,11 @@ automation:
- service: script.ah_report - service: script.ah_report
data_template: data_template:
speech_message: > speech_message: >
The {{ trigger.to_state.attributes.friendly_name }}
{{ [ {{ [
"The {{ trigger.to_state.attributes.friendly_name }} is standing open.", " is standing open.",
"The {{ trigger.to_state.attributes.friendly_name }} is open.", " is open.",
"The {{ trigger.to_state.attributes.friendly_name }} does not close on its own.", " does not close on its own."
"Someone forgot to close the {{ trigger.to_state.attributes.friendly_name }}."
] | random }} ] | random }}
call_interuption: 1 call_interuption: 1
call_snark_door_open: 1 call_snark_door_open: 1
@ -237,12 +237,13 @@ automation:
data_template: data_template:
speech_message: > speech_message: >
{{ [ {{ [
"I have detected motion at the {{ trigger.to_state.attributes.friendly_name }}.", "I have detected motion at the ",
"Someone may be at the {{ trigger.to_state.attributes.friendly_name }}.", "Someone may be at the ",
"There is movement at the {{ trigger.to_state.attributes.friendly_name }}.", "There is movement at the ",
"My sensors are picking up motion at the {{ trigger.to_state.attributes.friendly_name }}.", "My sensors are picking up motion at the ",
"The {{ trigger.to_state.attributes.friendly_name }} appears to have a visitor." "We appear to have a visitor at the "
] | random }} ] | random }}
{{ trigger.to_state.attributes.friendly_name }}.
call_snark_door_motion: 1 call_snark_door_motion: 1
initial_state: true initial_state: true
@ -704,6 +705,17 @@ script:
title: "Lockdown Issue!" title: "Lockdown Issue!"
message: "Doors are open!" message: "Doors are open!"
dog_mode_on:
sequence:
- condition: state
entity_id: input_boolean.secure_mode
state: "on"
- service: input_boolean.turn_on
entity_id: input_boolean.dog_mode
- service: script.jarvis_alert
data_template:
who: kitchen
message: "Turning on Dog Mode for twenty minutes."
activate_guest_mode: activate_guest_mode:
sequence: sequence: