UNPKG

homebridge-ambient-realtime

Version:

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

15 lines (14 loc) 862 B
import type { CharacteristicValue, PlatformAccessory, Service, Characteristic } from 'homebridge'; import type { ambientPlatform } from '../ambient_platform.js'; export declare class aqinSensor { private readonly platform; readonly Service: typeof Service; readonly Characteristic: typeof Characteristic; constructor(platform: ambientPlatform); 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>; }