mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
Merge branch 'mqtt-set-motion' of github.com:NickM-27/frigate into mqtt-set-motion
This commit is contained in:
commit
64cefb8b38
@ -79,7 +79,7 @@ def create_mqtt_client(config: FrigateConfig, camera_metrics):
|
||||
camera_metrics[camera_name]["detection_enabled"].value = True
|
||||
detect_settings.enabled = True
|
||||
|
||||
if camera_metrics[camera_name]["motion_enabled"].value:
|
||||
if not camera_metrics[camera_name]["motion_enabled"].value:
|
||||
logger.info(
|
||||
f"Turning on motion for {camera_name} due to detection being enabled."
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user