@shadman-a/homebridge-my-ac
Version:
A Homebridge plugin for controlling/monitoring LG ThinQ devices via LG ThinQ platform.
15 lines (14 loc) • 850 B
TypeScript
import { Device } from '../lib/Device.js';
import { DeviceModel } from '../lib/DeviceModel.js';
import { Washer, AC, Refrigerator, AirPurifier, RangeHood } from './devices/index.js';
export default class Helper {
static make(device: Device): typeof Washer | typeof AC | typeof Refrigerator | typeof AirPurifier | typeof RangeHood | null;
/**
* transform device from thinq1 to thinq2 compatible (with snapshot data)
*/
static transform(device: Device, monitorData: any): Device;
static prepareControlData(device: Device, key: string, value: string): any;
}
export declare function lookupEnumIndex(enumType: any, value: any): string;
export declare function loopupEnum(deviceModel: DeviceModel, decodedMonitor: any, key: any): string | number | null;
export { normalizeBoolean, normalizeNumber } from '../utils/normalize.js';