UNPKG

homebridge-ambient-realtime

Version:

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

16 lines (15 loc) 911 B
import type { CharacteristicValue, PlatformAccessory, Service, Characteristic } from 'homebridge'; import type ambientPlatform from '../ambient_platform.js'; export default class aqinSensor { private readonly platform; private log; readonly Service: typeof Service; readonly Characteristic: typeof Characteristic; constructor(platform: ambientPlatform, log?: import("homebridge").Logging); createAccessory(device: any, uuid: string, aqinSensor: PlatformAccessory): PlatformAccessory<import("homebridge").UnknownContext>; getStatusTemp(sensorStatus: Service): Promise<CharacteristicValue>; getStatusHum(sensorStatus: Service): Promise<CharacteristicValue>; getStatusAir(sensorStatus: Service): Promise<CharacteristicValue>; getStatusCo2(sensorStatus: Service): Promise<CharacteristicValue>; getStatusLowBattery(batteryStatus: Service): Promise<CharacteristicValue>; }