mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 02:29:19 +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
ea2252d09f
commit
1c190220cb
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user