UNPKG

homebridge-rachio-irrigation

Version:

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

21 lines (20 loc) 1.03 kB
import { Service, Characteristic, Logging } from 'homebridge'; import RachioPlatform from '../rachioplatform.js'; import RachioAPI from '../rachioapi.js'; import type { BaseStation } from '../settings.js'; export default class skipSwitch { private readonly platform; private readonly log; private rachioapi; readonly Service: typeof Service; readonly Characteristic: typeof Characteristic; delta: number[]; timeStamp: number[]; devices: Service[]; constructor(platform: RachioPlatform, log?: Logging, rachioapi?: RachioAPI); createSwitchService(switchName: string, uuid: string): Service; configureSwitchService(baseStation: BaseStation, switchService: Service): void; setSwitchValue(baseStation: BaseStation, switchService: Service): Promise<void>; getSwitchValue(baseStation: BaseStation, switchService: Service): import("homebridge").Nullable<import("homebridge").CharacteristicValue>; updateSkipSwitch(baseStation: BaseStation, switchService: Service): Promise<void>; }