So I have a script that I /almost/ works. when the back door is opened our google home announce it. (my kid is an escape artist) but it’s 10 to 15 seconds delayed, which wouldn’t be an issue IF he left the door open. I’m just using my simply safe sensors but they beep instantly when a door opens, so I’m hoping there is a way to make it faster
yaml:
alias: 'Open Door: Back Slider'
description: ''
trigger:
- type: opened
platform: device
device_id: 03d0ccb711b2e9acc1c2c6017e5fc774
entity_id: binary_sensor.addresshere_back_door_entry
domain: binary_sensor
condition: []
action:
- service: tts.google_translate_say
data:
entity_id: media_player.living_room_speaker
message: '"Back Door is Open"'
- service: tts.google_translate_say
data:
entity_id: media_player.basement_speaker
message: '"Back Door is Open"'
- service: tts.google_translate_say
data:
entity_id: media_player.office_speaker
message: '"Back Door is Open"'
- service: tts.google_translate_say
data:
entity_id: media_player.parents_room
message: '"Back Door is Open"'
mode: single