fix: Reduce delay on resuming camera events

This commit is contained in:
2024-09-02 10:44:26 -07:00
parent f21c85d996
commit f698ca4575

View File

@@ -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