UNPKG

homebridge-orbit-irrigation

Version:

Orbit Irrigation System platform plugin for [Homebridge](https://github.com/nfarina/homebridge).

26 lines (25 loc) 1.31 kB
import type { PlatformAccessory, Service, Characteristic } from 'homebridge'; import OrbitAPI from '../orbitapi.js'; import OrbitPlatform from '../orbitplatform.js'; export default class sensor { private readonly platform; private orbitapi; private log; readonly Service: typeof Service; readonly Characteristic: typeof Characteristic; constructor(platform: OrbitPlatform, orbitapi?: OrbitAPI, log?: import("homebridge").Logging); createFloodAccessory(device: any, uuid: string, platformAccessory: PlatformAccessory): PlatformAccessory<import("homebridge").UnknownContext>; setIdentify(device: any): void; createBatteryService(device: any, platformAccessory: PlatformAccessory): any; configureBatteryService(batteryStatus: Service): void; createLeakService(device: any): Service; configureLeakService(leakSensor: Service): void; createTempService(device: any): Service; configureTempService(tempSensor: Service): void; createOccupancyService(device: any): Service; configureOccupancyService(occupancyStatus: Service): void; getStatusLowBattery(batteryStatus: any): Promise<any>; getLeakStatus(leakSensor: any): Promise<number>; getTempStatus(tempSensor: any): Promise<any>; getStatusOccupancy(OccupancySensor: any): Promise<number>; }