UNPKG

homebridge-lg-ac

Version:

A Homebridge plugin for controlling/monitoring LG AirConditioning device via LG ThinQ platform.

26 lines 1.01 kB
/// <reference types="node" /> import EventEmitter from 'events'; import { PlatformAccessory, Service } from 'homebridge'; import { ACController } from '../../lib/controllers/ACController'; import { Device } from '../../lib/Device'; import { ThinQ } from '../../lib/ThinQ'; import { LGAcHomebridgePlatform } from '../../platform'; interface AcConfig { ac_mode: 'AUTO' | 'COOL' | 'HEAT' | 'BOTH'; } export declare class MainUnit extends EventEmitter { readonly controller: ACController; readonly platform: LGAcHomebridgePlatform; readonly accessory: PlatformAccessory; readonly config: AcConfig; readonly device: Device; readonly service: Service; readonly ThinQ: ThinQ; constructor(controller: ACController, platform: LGAcHomebridgePlatform, accessory: PlatformAccessory, config: AcConfig); update(device: Device): void; get currentHeatingCoolingState(): 1 | 0 | 2; link(service: Service): void; remove(): void; } export {}; //# sourceMappingURL=MainUnit.d.ts.map