/** * Dolphin Pool Cleaner Accessory * * Exposes a Dolphin robot to HomeKit as a switch/valve with optional sensors. */ import type { PlatformAccessory, CharacteristicValue } from 'homebridge'; import type { DolphinPoolCleanerPlatform, DeviceConfig } from '../platform.js'; import type { DolphinDevice, RobotState } from '../devices/dolphinDevice.js'; export declare class DolphinAccessory { private readonly platform; private readonly accessory; private readonly device; private readonly deviceConfig; private readonly switchService; private readonly temperatureService?; private readonly filterService?; private lastCommandTime; constructor(platform: DolphinPoolCleanerPlatform, accessory: PlatformAccessory, device: DolphinDevice, deviceConfig: DeviceConfig | undefined); /** * Set accessory information and remove legacy services */ private setupAccessoryInfo; /** * Create Switch service for robot on/off control */ private setupSwitchService; /** * Create temperature sensor if device supports it and enabled, or remove stale service */ private setupTemperatureService; /** * Create filter maintenance service if enabled, or remove stale service */ private setupFilterService; /** * Handle device state changes */ handleStateChange(state: RobotState): void; /** * Handle device disconnect */ handleDisconnect(): void; /** * Get switch On state (is robot cleaning) */ getOn(): Promise; /** * Set switch On state (start/stop cleaning) */ setOn(value: CharacteristicValue): Promise; /** * Put the switch back where it was after a command that did not take effect */ private revertSwitch; /** * Get water temperature */ getTemperature(): Promise; /** * Get filter status */ getFilterStatus(): Promise<0 | 1>; } //# sourceMappingURL=dolphinAccessory.d.ts.map