UNPKG

homebridge-ecowitt-weather-sensors

Version:

Homebridge support for your Fine Offset weather station (Ecowitt, Ambient, Froggit, GoGen, and more)

21 lines 1.07 kB
import { PlatformAccessory, Service } from 'homebridge'; import { EcowittPlatform } from './EcowittPlatform'; export declare class EcowittAccessory { protected readonly platform: EcowittPlatform; protected readonly accessory: PlatformAccessory; protected readonly modelName: string; protected readonly accessoryName: string; protected readonly channel: number | undefined; requiredData: string[]; optionalData: string[]; unusedData: string[]; protected readonly accessoryId: string; protected readonly shortServiceId: string; constructor(platform: EcowittPlatform, accessory: PlatformAccessory, modelName: string, accessoryName: string, channel?: number | undefined); update(dataReport: any): void; addBattery(name: string, chargeable?: boolean): Service; updateBatteryLevel(service: Service, batteryLevel: number): void; updateStatusLowBattery(service: Service, lowBattery: boolean): void; updateChargingState(service: Service, charging?: boolean): void; } //# sourceMappingURL=EcowittAccessory.d.ts.map