homebridge-framework
Version:
Framework for easy creation of homebridge plugins.
23 lines (22 loc) • 571 B
TypeScript
import { PlatformAccessory, Logger, API } from 'homebridge';
/**
* Represents the registration object of the platform.
*/
export declare class HomebridgePlatformRegistration<TConfiguration> {
/**
* Gets or sets the homebridge API.
*/
api: API | null;
/**
* Gets or sets the logger.
*/
logger: Logger | null;
/**
* Gets or sets the platform configuration.
*/
configuration: TConfiguration | null;
/**
* Gets or sets the cached accessories.
*/
cachedPlatformAccessories: Array<PlatformAccessory>;
}