Should also turn off boolean upon rectifying faults #60

This commit is contained in:
2022-12-01 18:30:14 -05:00
parent 719000f8a8
commit 5635836b00

View File

@ -211,6 +211,11 @@ automation:
- wait_template: "{{ is_state('sensor.total_faults','0') }}"
timeout:
minutes: 10
- service: input_boolean.turn_off
target:
entity_id: input_boolean.lockdown_issue
- wait:
seconds: 3
- if:
- condition: state
entity_id: binary_sensor.people_present