homebridge-loxone-proxy
Version:
Homebridge Dynamic Platform Plugin which exposes a Loxone System to Homekit.
27 lines • 793 B
TypeScript
interface ZoneDefinition {
id: number;
name: string;
duration: number;
}
type CommandHandler = (command: string) => void;
export declare class Valve {
private readonly platform;
private readonly accessory;
private readonly zone;
private readonly sendCommand;
private readonly valveService;
private readonly meta;
private interval;
constructor(platform: any, accessory: any, zone: ZoneDefinition, sendCommand?: CommandHandler);
private setupListeners;
reset(): void;
activate(now: number): void;
tick(now: number): void;
updateFromLoxone(currentZoneId: number, now: number): void;
getId(): number;
isActive(): boolean;
startTimerLoop(): void;
stopTimerLoop(): void;
}
export {};
//# sourceMappingURL=Valve.d.ts.map