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