From 0ce12a5185f4fca670f9ab3141562252fa28dfc3 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 5 Mar 2026 12:49:13 -0600 Subject: [PATCH] add active_profile field to FrigateConfig Runtime-only field excluded from YAML serialization, tracks which profile is currently active. --- frigate/config/config.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frigate/config/config.py b/frigate/config/config.py index 7e2d0eddc..3f1d96c1c 100644 --- a/frigate/config/config.py +++ b/frigate/config/config.py @@ -560,6 +560,13 @@ class FrigateConfig(FrigateBaseModel): description="Configuration for named camera groups used to organize cameras in the UI.", ) + active_profile: Optional[str] = Field( + default=None, + title="Active profile", + description="Currently active profile name. Runtime-only, not persisted in YAML.", + exclude=True, + ) + _plus_api: PlusApi @property