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