UNPKG

homebridge-ambient-realtime

Version:

Ambient Weather Realtime API platform plugin for [Homebridge](https://github.com/nfarina/homebridge).

23 lines (22 loc) 908 B
import type { API, Characteristic, DynamicPlatformPlugin, Logging, PlatformAccessory, PlatformConfig, Service } from 'homebridge'; /** * HomebridgePlatform * This class is the main constructor for your plugin, this is where you should * parse the user config and discover/register accessories with Homebridge. */ export declare class ambientPlatform implements DynamicPlatformPlugin { readonly log: Logging; readonly config: PlatformConfig; readonly api: API; [x: string]: any; readonly Service: typeof Service; readonly Characteristic: typeof Characteristic; readonly accessories: PlatformAccessory[]; constructor(log: Logging, config: PlatformConfig, api: API); configureAccessory(accessory: PlatformAccessory): void; identify(): void; connectAPI(): void; addAccessory(devices: any[]): void; updateStatus(data: any): void; updatefault(): void; }