UNPKG

homebridge-ambient-realtime

Version:

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

13 lines (12 loc) 721 B
import type { CharacteristicValue, PlatformAccessory, Service, Characteristic } from 'homebridge'; import type { ambientPlatform } from '../ambient_platform.js'; export declare class station { private readonly platform; readonly Service: typeof Service; readonly Characteristic: typeof Characteristic; constructor(platform: ambientPlatform); createAccessory(device: any, uuid: string, weatherStation: PlatformAccessory): PlatformAccessory<import("homebridge").UnknownContext>; getStatusTemp(sensorStatus: Service): Promise<CharacteristicValue>; getStatusHum(sensorStatus: Service): Promise<CharacteristicValue>; getStatusLowBattery(batteryStatus: Service): Promise<CharacteristicValue>; }