import type { Nullable } from "./common.ts"; import type { ProtectDeviceBaseInterface } from "./base.ts"; /** * The UniFi Protect light configuration type: the floodlight's device record, its paired camera, PIR and lux settings, and light-mode schedule. * * @module ProtectTypesLight */ /** * A semi-complete description of the UniFi Protect light JSON. */ export interface ProtectLightConfigInterface extends ProtectDeviceBaseInterface { camera: Nullable; host: string; isCameraPaired: boolean; isConnected: boolean; isDark: boolean; isLightForceEnabled: boolean; isLightOn: boolean; isLocating: boolean; isPirMotionDetected: boolean; lastMotion: Nullable; lightDeviceSettings: { isIndicatorEnabled: boolean; ledLevel: number; luxSensitivity: string; pirDuration: number; pirSensitivity: number; }; lightModeSettings: { enableAt: string; mode: string; }; lightOnSettings: { isLedForceOn: boolean; }; modelKey: "light"; } /** @see {@link ProtectLightConfigInterface} */ export type ProtectLightConfig = ProtectLightConfigInterface; //# sourceMappingURL=light.d.ts.map