homebridge-ambient-realtime
Version:
Ambient Weather Realtime API platform plugin for [Homebridge](https://github.com/nfarina/homebridge).
13 lines (12 loc) • 698 B
TypeScript
import type { CharacteristicValue, PlatformAccessory, Service, Characteristic } from 'homebridge';
import type ambientPlatform from '../ambient_platform.js';
export default class airSensor {
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, airSensorOut: PlatformAccessory): PlatformAccessory<import("homebridge").UnknownContext>;
getStatusAir(sensorStatus: Service): Promise<CharacteristicValue>;
getStatusLowBattery(batteryStatus: Service): Promise<CharacteristicValue>;
}