homebridge-mhi-wfrac
Version:
A homebridge plugin for Mitshubishi WF-RAC aircos (using the Smart M-Air app)
23 lines (22 loc) • 1.04 kB
TypeScript
import { API, DynamicPlatformPlugin, Logging, PlatformAccessory, PlatformConfig, Service, Characteristic } from 'homebridge';
export declare class HomebridgeMHIWFRACPlatform implements DynamicPlatformPlugin {
readonly log: Logging;
readonly config: PlatformConfig;
readonly api: API;
readonly Service: typeof Service;
readonly Characteristic: typeof Characteristic;
readonly accessories: PlatformAccessory[];
constructor(log: Logging, config: PlatformConfig, api: API);
configureAccessory(accessory: PlatformAccessory): void;
/**
* The operator ID is shared across the whole installation, mirroring the Smart M-Air app behaviour.
* If the user provided one in config we use that ("mirror" mode — no register/deregister).
* Otherwise we generate one once and persist it on accessory contexts ("self-register" mode).
*/
resolveOperatorId(): {
operatorId: string;
selfManaged: boolean;
};
configureDevices(): void;
private cleanupRemovedAccessories;
}