mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 10:33:11 +03:00
add profiles field to CameraConfig
This commit is contained in:
parent
0381c96973
commit
ea2252d09f
@ -34,6 +34,7 @@ from .mqtt import CameraMqttConfig
|
||||
from .notification import NotificationConfig
|
||||
from .objects import ObjectConfig
|
||||
from .onvif import OnvifConfig
|
||||
from .profile import CameraProfileConfig
|
||||
from .record import RecordConfig
|
||||
from .review import ReviewConfig
|
||||
from .snapshots import SnapshotsConfig
|
||||
@ -184,6 +185,12 @@ class CameraConfig(FrigateBaseModel):
|
||||
title="Camera URL",
|
||||
description="URL to visit the camera directly from system page",
|
||||
)
|
||||
|
||||
profiles: dict[str, CameraProfileConfig] = Field(
|
||||
default_factory=dict,
|
||||
title="Profiles",
|
||||
description="Named config profiles with partial overrides that can be activated at runtime.",
|
||||
)
|
||||
zones: dict[str, ZoneConfig] = Field(
|
||||
default_factory=dict,
|
||||
title="Zones",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user