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
|
||||
- wait:
|
||||
seconds: 3
|
||||
- if:
|
||||
- condition: state
|
||||
entity_id: sensor.total_faults
|
||||
state: '0'
|
||||
then:
|
||||
- if:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.people_present
|
||||
@ -228,6 +233,11 @@ automation:
|
||||
data_template:
|
||||
who: common
|
||||
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:
|
||||
security_arm_home:
|
||||
|
Reference in New Issue
Block a user