UNPKG

homebridge-philips-hue-sync-box

Version:
29 lines 1.22 kB
import { API, DynamicPlatformPlugin, Logging, PlatformAccessory, PlatformConfig } from 'homebridge'; import { HueSyncBoxPlatformConfig } from './config'; import { SyncBoxClient } from './lib/client.js'; import { State } from './state.js'; export declare class HueSyncBoxPlatform implements DynamicPlatformPlugin { readonly logger: Logging; readonly platformConfig: PlatformConfig; readonly apiInput: API; readonly config: HueSyncBoxPlatformConfig; readonly log: Logging | Console; readonly client: SyncBoxClient; readonly api: API; private readonly devices; private readonly accessories; private readonly existingAccessories; private readonly externalAccessories; private mainAccessory?; private readonly TV_ACCESSORY_TYPES_TO_CATEGORY; constructor(logger: Logging, platformConfig: PlatformConfig, apiInput: API); handleConfigDefaults(): void; configureAccessory(accessory: PlatformAccessory): void; discoverDevices(): Promise<void>; update(state: State | null): Promise<void>; private discoverAccessories; private createPlatformAccessory; private createTvAccessory; private createDevice; } //# sourceMappingURL=platform.d.ts.map