UNPKG

homebridge-http-json-thermometer

Version:
18 lines 725 B
import { PlatformAccessory } from 'homebridge'; import { ThermometerPlatform } from './platform'; /** * Platform Accessory * An instance of this class is created for each accessory the platform registers. */ export declare class ThermometerPlatformAccessory { private readonly platform; private readonly accessory; private service; constructor(platform: ThermometerPlatform, accessory: PlatformAccessory); /** * Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. */ httpRequest(url: string, thermometer: string, calibration: number): Promise<void>; } //# sourceMappingURL=platformAccessory.d.ts.map