@elshaer/homebridge-hdl-buspro-enhanced
Version:
Linking the HDL bus into the Homebridge widget
25 lines • 963 B
TypeScript
import { PlatformAccessory } from 'homebridge';
import { Device } from 'smart-bus';
import { HDLBusproHomebridge } from './HDLPlatform';
import { ABCDevice } from './ABC';
export declare class RelayHeater implements ABCDevice {
private readonly platform;
private readonly accessory;
private readonly name;
private readonly controller;
private readonly device;
private readonly channel;
private service;
private heaterState;
private readonly HDL_HEATER_CONTROL_CMD;
private readonly HDL_TEMP_SET_CMD;
private readonly HDL_STATUS_QUERY_CMD;
constructor(platform: HDLBusproHomebridge, accessory: PlatformAccessory, name: string, controller: Device, device: Device, channel: number);
private configureCharacteristics;
private setupEventListeners;
private initializeHeater;
private updateFromStatus;
private setPowerState;
private setTargetTemperature;
}
//# sourceMappingURL=RelayHeater.d.ts.map