homebridge-orbit-irrigation
Version:
Orbit Irrigation System platform plugin for [Homebridge](https://github.com/nfarina/homebridge).
19 lines (18 loc) • 1.01 kB
TypeScript
import type { PlatformAccessory, Service, Characteristic } from 'homebridge';
import OrbitAPI from '../orbitapi.js';
import OrbitPlatform from '../orbitplatform.js';
export default class valve {
private readonly platform;
private orbitapi;
private log;
readonly Service: typeof Service;
readonly Characteristic: typeof Characteristic;
constructor(platform: OrbitPlatform, orbitapi?: OrbitAPI, log?: import("homebridge").Logging);
createValveAccessory(device: any, zone: any, uuid: string, platformAccessory: PlatformAccessory): PlatformAccessory<import("homebridge").UnknownContext>;
updateValveService(device: any, zone: any, valve: any): any;
configureValveService(device: any, valveService: any): void;
getValveValue(valveService: any, characteristicName: any): Promise<any>;
setValveValue(device: any, valveService: any, value: any): Promise<void>;
setValveSetDuration(valveService: any, value: any): Promise<void>;
localMessage(listener: any): void;
}