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