UNPKG

@elshaer/homebridge-hdl-buspro-enhanced

Version:

Linking the HDL bus into the Homebridge widget

28 lines 1.21 kB
import { PlatformAccessory, CharacteristicValue } from 'homebridge'; import { Device } from 'smart-bus'; import { HDLBusproHomebridge } from './HDLPlatform'; import { ABCDevice, ABCListener } from './ABC'; export declare class Sensor8in1 implements ABCDevice { private readonly platform; private readonly accessory; private readonly name; private readonly controller; private readonly device; private readonly listener; private temp_service; private brightness_service; private motion_service; private sound_service; private SensorStates; constructor(platform: HDLBusproHomebridge, accessory: PlatformAccessory, name: string, controller: Device, device: Device, listener: SensorListener); handleCurrentTemperatureGet(): Promise<CharacteristicValue>; handleCurrentAmbientLightLevelGet(): Promise<CharacteristicValue>; handleMotionDetectedGet(): Promise<CharacteristicValue>; handleMuteGet(): Promise<CharacteristicValue>; } export declare class SensorListener implements ABCListener { private readonly device; private readonly controller; constructor(device: Device, controller: Device); } //# sourceMappingURL=Sensor8in1.d.ts.map