add per-camera configuration

This commit is contained in:
Gabriel Grant 2025-02-15 16:08:23 -05:00
parent f387ab2bf2
commit 851b0ebd6b

View File

@ -24,6 +24,7 @@ from .ffmpeg import CameraFfmpegConfig, CameraInput
from .genai import GenAICameraConfig
from .live import CameraLiveConfig
from .motion import MotionConfig
from .motion_path import MotionPathConfig
from .mqtt import CameraMqttConfig
from .notification import NotificationConfig
from .objects import ObjectConfig
@ -62,6 +63,9 @@ class CameraConfig(FrigateBaseModel):
motion: Optional[MotionConfig] = Field(
None, title="Motion detection configuration."
)
motion_paths: Optional[MotionPathConfig] = Field(
None, title="Enable motion paths."
)
objects: ObjectConfig = Field(
default_factory=ObjectConfig, title="Object configuration."
)