mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-20 18:59:01 +03:00
Merge branch 'mqtt-set-motion' of github.com:NickM-27/frigate into mqtt-set-motion
This commit is contained in:
+1
-1
@@ -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."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user