@homebridge-plugins/homebridge-smarthq
Version:
The SmartHQ plugin allows you to interact with SmartHQ Devices in HomeKit and with Siri.
26 lines • 1.08 kB
TypeScript
import type { PlatformAccessory } from 'homebridge';
import type { SmartHQPlatform, devicesConfig, SmartHqContext } from '../../../../index.js';
import { OpalDeviceBase } from '../../OpalDeviceBase.js';
export declare class OpalStatusBase extends OpalDeviceBase {
readonly platform: SmartHQPlatform;
accessory: PlatformAccessory<SmartHqContext>;
readonly device: SmartHqContext['device'] & devicesConfig;
OpalStatusCodes: {
MAKING_ICE: number;
DEFROSTING: number;
CLEANING: number;
ICE_BIN_FULL: number;
ADD_WATER: number;
ICE_BIN_MISSING: number;
IDLE: number;
MISSING_WATER_SOURCE: number;
LID_OPEN: number;
UNKNOWN: number;
};
opalCurrentStatus: number;
constructor(platform: SmartHQPlatform, accessory: PlatformAccessory<SmartHqContext>, device: SmartHqContext['device'] & devicesConfig);
getOpalCurrentStatus(): Promise<void>;
setOpalCurrentStatus(newStatus: number): Promise<void>;
setChildStatus(): void;
}
//# sourceMappingURL=OpalStatusBase.d.ts.map