From 175be526d7aca7a0d6c556180656b10d8a3c3967 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Fri, 23 May 2025 09:30:00 -0600 Subject: [PATCH] Quick fix --- frigate/comms/dispatcher.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frigate/comms/dispatcher.py b/frigate/comms/dispatcher.py index 33f3ec158..c94ce690f 100644 --- a/frigate/comms/dispatcher.py +++ b/frigate/comms/dispatcher.py @@ -289,7 +289,10 @@ class Dispatcher: logger.info(f"Turning off detection for {camera_name}") detect_settings.enabled = False - self.config_updater.publish(f"config/detect/{camera_name}", detect_settings) + self.config_updater.publish_update( + CameraConfigUpdateTopic(CameraConfigUpdateEnum.detect, camera_name), + detect_settings, + ) self.publish(f"{camera_name}/detect/state", payload, retain=True) def _on_enabled_command(self, camera_name: str, payload: str) -> None: