Didn't think about actually re-checking faults after the timeout #60
This commit is contained in:
@ -216,6 +216,11 @@ automation:
|
|||||||
entity_id: input_boolean.lockdown_issue
|
entity_id: input_boolean.lockdown_issue
|
||||||
- wait:
|
- wait:
|
||||||
seconds: 3
|
seconds: 3
|
||||||
|
- if:
|
||||||
|
- condition: state
|
||||||
|
entity_id: sensor.total_faults
|
||||||
|
state: '0'
|
||||||
|
then:
|
||||||
- if:
|
- if:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.people_present
|
entity_id: binary_sensor.people_present
|
||||||
@ -228,6 +233,11 @@ automation:
|
|||||||
data_template:
|
data_template:
|
||||||
who: common
|
who: common
|
||||||
call_security_armed: 1
|
call_security_armed: 1
|
||||||
|
else:
|
||||||
|
- service: script.speech_engine
|
||||||
|
data:
|
||||||
|
who: common
|
||||||
|
message: 'I am unable to resolve the security issue, so I am giving up. Please report the issue to Tony if applicable.'
|
||||||
|
|
||||||
script:
|
script:
|
||||||
security_arm_home:
|
security_arm_home:
|
||||||
|
Reference in New Issue
Block a user