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.
21 lines • 789 B
TypeScript
import type { ProtectAccessory, WithoutIdentity } from "../types.ts";
import type { ProtectRelayConfig, Relay } from "unifi-protect";
import { ProtectDevice } from "./device.ts";
import type { ProtectNvr } from "../nvr/nvr.ts";
export declare class ProtectRelay extends ProtectDevice {
#private;
protected readonly device: Relay;
constructor(nvr: ProtectNvr, accessory: ProtectAccessory, device: Relay);
get ufp(): Readonly<WithoutIdentity<ProtectRelayConfig>>;
private outputState;
private pendingTimerKey;
private outputSubtype;
private outputTopic;
private configureDevice;
private configureOutputs;
private setOutput;
private configureMqtt;
protected spawnObservers(): void;
cleanup(): void;
}
//# sourceMappingURL=relay.d.ts.map