import type { CharacteristicValue, PlatformAccessory } from 'homebridge'; import type { ResideoPlatform } from '../Platform.HAP.js'; import type { devicesConfig, fanStatus, location, resideoDevice, roomPriorityStatus } from '../settings.js'; import { Subject } from 'rxjs'; import { deviceBase } from './device.js'; /** * Platform Accessory * An instance of this class is created for each accessory your platform registers * Each accessory may expose multiple services of different service types. */ export declare class Thermostats extends deviceBase { readonly platform: ResideoPlatform; private Thermostat; private Fan?; private HumiditySensor?; private StatefulProgrammableSwitch?; thermostatSetpointStatus: string; thermostatUpdateInProgress: boolean; doThermostatUpdate: Subject; fanStatus: fanStatus; fanUpdateInProgress: boolean; doFanUpdate: Subject; roomPriorityStatus: roomPriorityStatus; roomUpdateInProgress: boolean; doRoomUpdate: Subject; constructor(platform: ResideoPlatform, accessory: PlatformAccessory, location: location, device: resideoDevice & devicesConfig); /** * Parse the device status from the Resideo api */ parseStatus(): Promise; /** * Asks the Resideo Home API for the latest device information */ refreshStatus(): Promise; private getDeviceStatus; private getRoomPriorityStatus; private getFanStatus; /** * Pushes the requested changes to the Resideo API */ pushChanges(): Promise; ResideoMode(): Promise; pushChangesthermostatSetpointStatus(): Promise; /** * Pushes the requested changes for Room Priority to the Resideo API */ pushRoomChanges(): Promise; /** * Updates the status for each of the HomeKit Characteristics */ updateHomeKitCharacteristics(): Promise; apiError(e: any): Promise; getThermostatConfigSettings(accessory: PlatformAccessory, device: resideoDevice & devicesConfig): Promise; setTargetHeatingCoolingState(value: CharacteristicValue): Promise; setHeatingThresholdTemperature(value: CharacteristicValue): Promise; setCoolingThresholdTemperature(value: CharacteristicValue): Promise; setTargetTemperature(value: CharacteristicValue): Promise; setTemperatureDisplayUnits(value: CharacteristicValue): Promise; /** * Handle requests to set the "Programmable Switch Output State" characteristic */ handleProgrammableSwitchOutputStateSet(value: CharacteristicValue): void; /** * Pushes the requested changes for Fan to the Resideo API */ pushFanChanges(): Promise; /** * Updates the status for each of the HomeKit Characteristics */ setActive(value: CharacteristicValue): Promise; setTargetFanState(value: CharacteristicValue): Promise; } //# sourceMappingURL=thermostats.d.ts.map