UNPKG

@elshaer/homebridge-hdl-buspro-enhanced

Version:

Linking the HDL bus into the Homebridge widget

22 lines 1.02 kB
import { PlatformAccessory, CharacteristicValue } from 'homebridge'; import { Device } from 'smart-bus'; import { HDLBusproHomebridge } from './HDLPlatform'; import { RelayListener } from './RelayLightbulb'; import { ABCDevice } from './ABC'; export declare class RelayDimmableLightbulb implements ABCDevice { private readonly platform; private readonly accessory; private readonly name; private readonly controller; private readonly device; private readonly listener; private readonly channel; private service; private RelayDimmableLightbulbStates; constructor(platform: HDLBusproHomebridge, accessory: PlatformAccessory, name: string, controller: Device, device: Device, listener: RelayListener, channel: number); setOn(value: CharacteristicValue): Promise<void>; getOn(): Promise<CharacteristicValue>; setBrightness(value: CharacteristicValue): Promise<void>; getBrightness(): Promise<CharacteristicValue>; } //# sourceMappingURL=RelayDimmableLightbulb.d.ts.map