fix: Reduce delay on resuming camera events
This commit is contained in:
@@ -444,7 +444,7 @@ automation:
|
||||
- "{{ is_state('input_boolean.guest_mode', 'off') }}"
|
||||
mode: restart
|
||||
action:
|
||||
- delay: 60 # Why?
|
||||
- delay: 10 # Why?
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: frigate/backyard/detect/set
|
||||
@@ -467,13 +467,9 @@ automation:
|
||||
- platform: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
to: 'off'
|
||||
condition:
|
||||
condition: state
|
||||
entity_id: input_boolean.disable_camera_events
|
||||
state: 'off'
|
||||
mode: restart
|
||||
action:
|
||||
- delay: 60 # Why?
|
||||
- delay: 10 # Why?
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: frigate/backyard/detect/set
|
||||
|
||||
Reference in New Issue
Block a user