From 1c190220cbb0bd557c80d456ae2037f440fee43d 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 339d675dc..768d4ea2b 100644 --- a/frigate/config/config.py +++ b/frigate/config/config.py @@ -561,6 +561,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