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