homebridge-orbit-irrigation
Version:
Orbit Irrigation System platform plugin for [Homebridge](https://github.com/nfarina/homebridge).
17 lines (16 loc) • 778 B
TypeScript
import type { Service, Characteristic } from 'homebridge';
import OrbitAPI from '../orbitapi.js';
import OrbitPlatform from '../orbitplatform.js';
export default class basicSwitch {
private readonly platform;
private orbitapi;
private log;
readonly Service: typeof Service;
readonly Characteristic: typeof Characteristic;
constructor(platform: OrbitPlatform, orbitapi?: OrbitAPI, log?: import("homebridge").Logging);
createScheduleSwitchService(device: any, schedule: any): Service;
createSwitchService(device: any, switchType: any): Service;
configureSwitchService(device: any, switchService: any): void;
setSwitchValue(device: any, switchService: any, value: any): Promise<void>;
getSwitchValue(switchService: any): Promise<any>;
}