Add camera ui.rotate config/type plumbing

This commit is contained in:
ibs0d 2026-03-08 17:49:11 +11:00
parent e941561213
commit 931f1bfcc8
2 changed files with 6 additions and 0 deletions

View File

@ -16,3 +16,8 @@ class CameraUiConfig(FrigateBaseModel):
title="Show in UI",
description="Toggle whether this camera is visible everywhere in the Frigate UI. Disabling this will require manually editing the config to view this camera in the UI again.",
)
rotate: bool = Field(
default=False,
title="Rotate in grid",
description="Rotate this camera 90 degrees clockwise in multi-camera dashboard/grid views.",
)

View File

@ -8,6 +8,7 @@ export interface UiConfig {
time_style?: "full" | "long" | "medium" | "short";
dashboard: boolean;
order: number;
rotate: boolean;
unit_system?: "metric" | "imperial";
}