mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 10:33:11 +03:00
add active_profile field to FrigateConfig
Runtime-only field excluded from YAML serialization, tracks which profile is currently active.
This commit is contained in:
parent
439d9607ec
commit
0ce12a5185
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user