UNPKG

@elshaer/homebridge-hdl-buspro-enhanced

Version:

Linking the HDL bus into the Homebridge widget

28 lines 1.22 kB
import { PlatformAccessory, CharacteristicValue } from 'homebridge'; import { Device } from 'smart-bus'; import { HDLBusproHomebridge } from './HDLPlatform'; import { RelayCurtainListener } from './RelayCurtains'; import { ABCDevice } from './ABC'; export declare class RelayCurtainValve implements ABCDevice { private readonly platform; private readonly accessory; private readonly name; private readonly controller; private readonly device; private readonly listener; private readonly channel; private readonly nc; private readonly valvetype; private service; private RelayCurtainValveStates; private HDLOpening; private HDLClosing; private HDLStop; private wasactive; constructor(platform: HDLBusproHomebridge, accessory: PlatformAccessory, name: string, controller: Device, device: Device, listener: RelayCurtainListener, channel: number, nc: boolean, valvetype: number); handleActiveSet(newactive: CharacteristicValue): Promise<void>; handleActiveGet(): Promise<CharacteristicValue>; handleInUseGet(): Promise<CharacteristicValue>; handleValveTypeGet(): Promise<CharacteristicValue>; } //# sourceMappingURL=RelayCurtainValve.d.ts.map