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;