UNPKG

homebridge-dmxlight-plugin

Version:
29 lines 1.18 kB
import { API, DynamicPlatformPlugin, Logger, PlatformAccessory, PlatformConfig, Service, Characteristic } from 'homebridge'; /** * DMXLightHomebridgePlatform * This class is the main constructor for the DMX Light plugin */ export declare class DMXLightHomebridgePlatform 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 accessories as defined within the accessories section of the platform */ discoverDevices(): void; getConfigProperties(): { name: string | undefined; accessories: any; }; isIterable(value: unknown): boolean; } //# sourceMappingURL=platform.d.ts.map