UNPKG

homebridge-ecowitt-weather-sensors

Version:

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

12 lines (11 loc) 560 B
import { PlatformAccessory } from 'homebridge'; import { EcowittPlatform } from './../EcowittPlatform'; import { MotionSensor } from './MotionSensor'; export declare class DistanceSensor extends MotionSensor { protected readonly platform: EcowittPlatform; protected readonly accessory: PlatformAccessory; protected readonly id: string; protected readonly name: string; constructor(platform: EcowittPlatform, accessory: PlatformAccessory, id: string, name: string); updateDepth(depthmm: number, threshold: number, time: string): void; }