homebridge-ecowitt-weather-sensors
Version:
Homebridge support for your Fine Offset weather station (Ecowitt, Ambient, Froggit, GoGen, and more)
14 lines (13 loc) • 646 B
TypeScript
import { PlatformAccessory } from 'homebridge';
import { EcowittPlatform } from './../EcowittPlatform';
import { Sensor } from './Sensor';
export declare class MotionSensor extends Sensor {
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);
protected setMotionDetected(motionDetected: boolean): void;
protected updateMotionDetected(motionDetected: boolean): void;
protected updateValue(value: string): void;
}