homebridge-econet-rheem
Version:
Homebridge plugin based on pyeconet for control of Rheem water heaters
25 lines (24 loc) • 1.21 kB
TypeScript
import { PlatformAccessory, CharacteristicValue } from 'homebridge';
import { EconetRheemPlatform } from '../homebridge/platform.js';
import { WaterHeater } from '../model/waterHeater.js';
export declare class WaterHeaterAccessory {
private readonly platform;
private readonly accessory;
private readonly waterHeater;
private readonly alwaysUseCurrentTemp;
private service;
private readonly Characteristic;
constructor(platform: EconetRheemPlatform, accessory: PlatformAccessory, waterHeater: WaterHeater, alwaysUseCurrentTemp: boolean);
private handleEquipmentUpdate;
updateCharacteristics(): void;
getStatusFault(): Promise<CharacteristicValue>;
getActive(): Promise<CharacteristicValue>;
getCurrentState(): Promise<CharacteristicValue>;
getTargetState(): Promise<CharacteristicValue>;
setTargetState(value: CharacteristicValue): Promise<void>;
getCurrentTemperature(): Promise<CharacteristicValue>;
getHeatingThresholdTemperature(): Promise<CharacteristicValue>;
setHeatingThresholdTemperature(value: CharacteristicValue): Promise<void>;
setActive(value: CharacteristicValue): Promise<void>;
private get inputTemperature();
}