From 773911e0365aca7e4f436025f8cb5ff851c3797c Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sun, 6 Jul 2025 14:31:18 -0500 Subject: [PATCH] clean up --- frigate/config/classification.py | 3 +-- frigate/data_processing/post/semantic_trigger.py | 2 +- web/src/types/trigger.ts | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/frigate/config/classification.py b/frigate/config/classification.py index 1f019e817..6b6e0cf52 100644 --- a/frigate/config/classification.py +++ b/frigate/config/classification.py @@ -31,7 +31,6 @@ class TriggerType(str, Enum): class TriggerAction(str, Enum): - ALERT = "alert" NOTIFICATION = "notification" @@ -144,7 +143,7 @@ class TriggerConfig(FrigateBaseModel): class CameraSemanticSearchConfig(FrigateBaseModel): triggers: Optional[Dict[str, TriggerConfig]] = Field( default=None, - title="Text or image triggers to elevate tracked objects to review alerts", + title="Trigger actions on tracked objects that match existing thumbnails or descriptions", ) model_config = ConfigDict(extra="forbid", protected_namespaces=()) diff --git a/frigate/data_processing/post/semantic_trigger.py b/frigate/data_processing/post/semantic_trigger.py index 09a096cd7..baa47ba1c 100644 --- a/frigate/data_processing/post/semantic_trigger.py +++ b/frigate/data_processing/post/semantic_trigger.py @@ -1,4 +1,4 @@ -"""Real time processor to trigger alerts by matching embeddings.""" +"""Post time processor to trigger actions based on similar embeddings.""" import datetime import json diff --git a/web/src/types/trigger.ts b/web/src/types/trigger.ts index 6e7685826..44d1cc47d 100644 --- a/web/src/types/trigger.ts +++ b/web/src/types/trigger.ts @@ -1,5 +1,5 @@ export type TriggerType = "thumbnail" | "description"; -export type TriggerAction = "alert" | "notification"; +export type TriggerAction = "notification"; export type Trigger = { enabled: boolean;