Merge pull request #20 from ibs0d/codex/add-camera-rotate-config-option

Add schema/type plumbing for camera ui.rotate config
This commit is contained in:
ibs0d
2026-03-08 17:50:13 +11:00
committed by GitHub
2 changed files with 6 additions and 0 deletions
+5
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.",
)
+1
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";
}