From 7a228b1446aef08c52285a3e5ce802aab3b0b906 Mon Sep 17 00:00:00 2001 From: ccostan Date: Wed, 29 Jul 2020 20:04:02 -0400 Subject: [PATCH] Just keep tweaking the house more and more. Adding more wait gates on arrival. --- config/automation/Speech/announcements.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config/automation/Speech/announcements.yaml b/config/automation/Speech/announcements.yaml index a1065f07..b71b9dde 100755 --- a/config/automation/Speech/announcements.yaml +++ b/config/automation/Speech/announcements.yaml @@ -24,8 +24,12 @@ add_entities: >- {{ trigger.to_state.entity_id }} - - wait_template: >- - {{ states.binary_sensor.kitchen_door.state == 'on' }} + - wait_template: "{{ states.binary_sensor.mcu1_gpio12.state == 'on' }}" + timeout: '00:10:00' + + - wait_template: "{{ states.binary_sensor.kitchen_door.state == 'on' }}" + timeout: '00:1:00' + - delay: '00:01:00' - service: script.speech_engine data_template: @@ -81,7 +85,7 @@ object_id: "arriving" entities: [] - # Only Disarm if armed. Otherwise, Exit out. + # Only Disarm if armed. Otherwise, Exit out. - condition: state entity_id: alarm_control_panel.alexa_guard state: armed