Just keep tweaking the house more and more. Adding more wait gates on arrival.
This commit is contained in:
parent
5c61861def
commit
7a228b1446
|
@ -24,8 +24,12 @@
|
||||||
add_entities: >-
|
add_entities: >-
|
||||||
{{ trigger.to_state.entity_id }}
|
{{ trigger.to_state.entity_id }}
|
||||||
|
|
||||||
- wait_template: >-
|
- wait_template: "{{ states.binary_sensor.mcu1_gpio12.state == 'on' }}"
|
||||||
{{ states.binary_sensor.kitchen_door.state == 'on' }}
|
timeout: '00:10:00'
|
||||||
|
|
||||||
|
- wait_template: "{{ states.binary_sensor.kitchen_door.state == 'on' }}"
|
||||||
|
timeout: '00:1:00'
|
||||||
|
|
||||||
- delay: '00:01:00'
|
- delay: '00:01:00'
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
data_template:
|
data_template:
|
||||||
|
@ -81,7 +85,7 @@
|
||||||
object_id: "arriving"
|
object_id: "arriving"
|
||||||
entities: []
|
entities: []
|
||||||
|
|
||||||
# Only Disarm if armed. Otherwise, Exit out.
|
# Only Disarm if armed. Otherwise, Exit out.
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: alarm_control_panel.alexa_guard
|
entity_id: alarm_control_panel.alexa_guard
|
||||||
state: armed
|
state: armed
|
||||||
|
|
Loading…
Reference in New Issue