UNPKG

homebridge-hunter-hydrawise

Version:

HomeKit integration for Hunter Hydrawise Irrigation Controllers.

38 lines (37 loc) 1.31 kB
import type { PlatformAccessory } from "homebridge"; import { type HomebridgePluginLogging } from "homebridge-plugin-utils"; import type { HydrawiseControllerConfig } from "./hydrawise-types.js"; import type { HydrawisePlatform } from "./hydrawise-platform.js"; export declare class HydrawiseController { private readonly accessory; private readonly api; private readonly config; readonly controller: HydrawiseControllerConfig; private readonly hap; private readonly hints; readonly log: HomebridgePluginLogging; private readonly platform; private status; private zoneHints; constructor(platform: HydrawisePlatform, accessory: PlatformAccessory, controller: HydrawiseControllerConfig); private configureDevice; private configureHints; private configureInfo; private configureMqtt; private configureIrrigationSystem; private configureSuspendSwitches; private updateState; private sendCommand; private zoneStatus; private getStatus; private isStoppedBySensor; private getMinutes; private formatStartTime; private hasFeature; private getValveName; private get isAllSuspended(); private get statusJson(); private get name(); private get accessoryName(); private set accessoryName(value); }