homebridge-unifi-protect
Version:
Homebridge UniFi Protect plugin providing complete HomeKit integration for the entire UniFi Protect ecosystem with full support for most features including HomeKit Secure Video, multiple controllers, blazing fast performance, and much more.
20 lines • 859 B
TypeScript
import type { Light, ProtectLightConfig } from "unifi-protect";
import type { ProtectAccessory, WithoutIdentity } from "../types.ts";
import { ProtectDevice } from "./device.ts";
import type { ProtectNvr } from "../nvr/nvr.ts";
export declare class ProtectLight extends ProtectDevice {
protected readonly device: Light;
constructor(nvr: ProtectNvr, accessory: ProtectAccessory, device: Light);
get ufp(): Readonly<WithoutIdentity<ProtectLightConfig>>;
private get isLightOn();
private get ledBrightness();
private configureDevice;
private configureLightbulb;
private configureMqtt;
protected spawnObservers(): void;
protected statusLedCommand(value: boolean): () => Promise<unknown>;
get statusLed(): boolean;
private brightnessToLedLevel;
private ledLevelToBrightness;
}
//# sourceMappingURL=light.d.ts.map