homebridge-orbit-irrigation
Version:
Orbit Irrigation System platform plugin for [Homebridge](https://github.com/nfarina/homebridge).
21 lines (20 loc) • 1.24 kB
TypeScript
import type { PlatformAccessory, Service, Characteristic } from 'homebridge';
import OrbitAPI from '../orbitapi.js';
import OrbitPlatform from '../orbitplatform.js';
export default class irrigation {
private readonly platform;
private orbitapi;
private log;
readonly Service: typeof Service;
readonly Characteristic: typeof Characteristic;
constructor(platform: OrbitPlatform, orbitapi?: OrbitAPI, log?: import("homebridge").Logging);
createIrrigationAccessory(device: any, uuid: string, platformAccessory: PlatformAccessory): PlatformAccessory<import("homebridge").UnknownContext>;
configureIrrigationService(device: any, irrigationSystemService: any): void;
createValveService(device: any, zone: any): Service;
configureValveService(device: any, valveService: any): void;
getDeviceValue(irrigationSystemService: Service, characteristicName: any): import("homebridge").Nullable<import("homebridge").CharacteristicValue> | undefined;
getValveValue(valveService: any, characteristicName: any): any;
setValveValue(device: any, valveService: any, value: any): Promise<void>;
setValveSetDuration(valveService: any, value: number): Promise<void>;
localMessage(listener: any): void;
}