homebridge-irobot-v2
Version:
A Homebridge plugin for controlling iRobot devices
25 lines • 987 B
TypeScript
import { API, DynamicPlatformPlugin, Logger, PlatformAccessory, PlatformConfig, Service, Characteristic } from 'homebridge';
/**
* HomebridgePlatform
*
* This class is the main constructor for the iRobot Homebridge plugin.
*/
export declare class iRobotPlatform implements DynamicPlatformPlugin {
readonly log: Logger;
readonly config: PlatformConfig;
readonly api: API;
readonly Service: typeof Service;
readonly Characteristic: typeof Characteristic;
readonly accessories: PlatformAccessory[];
constructor(log: Logger, config: PlatformConfig, api: API);
/**
* This function is invoked when homebridge restores cached accessories from disk at startup.
* It should be used to setup event handlers for characteristics and update respective values.
*/
configureAccessory(accessory: PlatformAccessory): void;
/**
* Register discovered devices as accessories.
*/
discoverDevices(): void;
}
//# sourceMappingURL=platform.d.ts.map