@shadman-a/homebridge-my-ac
Version:
A Homebridge plugin for controlling/monitoring LG ThinQ device via LG ThinQ platform.
63 lines • 2.26 kB
TypeScript
import { baseDevice } from '../baseDevice';
import { LGThinQHomebridgePlatform } from '../platform';
import { PlatformAccessory } from 'homebridge';
import { Device } from '../lib/Device';
import { WasherDryerStatus } from './WasherDryer';
export default class Dishwasher extends baseDevice {
readonly platform: LGThinQHomebridgePlatform;
readonly accessory: PlatformAccessory;
isRunning: boolean;
inputID: number;
rinseLevel: string;
inputName: string;
inputNameOptions: string;
inputNameRinse: string;
inputNameMachine: string;
courseStartString: string;
courseTimeString: string;
courseTimeEndString: string;
showTime: boolean;
firstTime: boolean;
firstEnd: boolean;
settingDuration: number;
dryCounter: number;
delayTime: number;
firstDelay: boolean;
firstStandby: boolean;
standbyTimetMS: number;
finishedTime: string;
protected serviceDishwasher: any;
protected serviceDoorOpened: any;
protected serviceEventFinished: any;
protected tvService: any;
protected dishwasherState: any;
protected dishwasherOptions: any;
protected startTime: any;
protected courseDuration: any;
protected endTime: any;
protected dishwasherRinseLevel: any;
protected dishwasherClaenness: any;
createInputSourceService(name: any, subtype: any, identifier: any, configuredName: any, isShow: any): import("homebridge").Service;
constructor(platform: LGThinQHomebridgePlatform, accessory: PlatformAccessory);
currentInputName(): void;
timeDurationEnd(): void;
setActive(): void;
updateAccessoryCharacteristic(device: Device): void;
get Status(): DishwasherStatus;
get config(): any;
nameLengthCheck(newName: any): any;
updateRinseLevel(): void;
onStatus(): boolean;
timerStatus(): 0 | 1;
getRinseLevel(callback: any): void;
getDoorStatus(callback: any): void;
getRinseLevelPercent(callback: any): void;
getRinseLevelStatus(callback: any): void;
resetTimeSettings(): void;
update(snapshot: any): void;
}
export declare class DishwasherStatus extends WasherDryerStatus {
get isRunning(): boolean;
get isDoorClosed(): boolean;
}
//# sourceMappingURL=Dishwasher.d.ts.map