UNPKG

homebridge-skyq-tvremote

Version:

Exposes and Sky Q Box as a TV Accessory in HomeBridge, allow you to use the Remote UI in Control Centre

21 lines 949 B
import { API, HAP, IndependentPlatformPlugin, Logging, PlatformConfig } from 'homebridge'; declare type ActiveCharacterstic = HAP['Characteristic']['Active']['INACTIVE'] | HAP['Characteristic']['Active']['ACTIVE']; interface SkyTVDeviceConfig { name?: string; ipAddress?: string; } interface SkyTVConfig extends PlatformConfig, SkyTVDeviceConfig { devices?: SkyTVDeviceConfig[]; } export declare class SkyTVPlugin implements IndependentPlatformPlugin { private readonly log; private readonly api; private names; constructor(log: Logging, config: SkyTVConfig, api: API); prepareDeviceConfig(key: number | null, config: SkyTVDeviceConfig): SkyTVDeviceConfig; publishExternalAccessory(config: SkyTVDeviceConfig): void; getActive: (boxCheck: any) => Promise<ActiveCharacterstic>; send: (remoteControl: any, command: string | string[]) => Promise<undefined>; } export {}; //# sourceMappingURL=platform.d.ts.map