UNPKG

homebridge-freeathome-local-api

Version:

Control your free@home setup using the local API provided by your System Access Point

17 lines 825 B
import { Channel, Device, Logger } from "freeathome-local-api-client"; import type { PlatformAccessory, UnknownContext } from "homebridge"; /** Describes the context of a free&#64;home accessory. */ export interface FreeAtHomeContext { channel: Channel; channelId: string; deviceSerial: string; device: Device; } /** * Determines whether the specified accessory is a free&#64;home accessory. * @param accessory The accessory to be tested * @param logger {Logger} The logger instance to be used. * @returns {boolean} A value indicating whether the specified object is a free&#64;home accessory. */ export declare function isFreeAtHomeAccessory(accessory: PlatformAccessory<UnknownContext>, logger: Logger): accessory is PlatformAccessory<FreeAtHomeContext>; //# sourceMappingURL=freeAtHomeContext.d.ts.map