SwitchBotAPI icon indicating copy to clipboard operation
SwitchBotAPI copied to clipboard

Missing Thermostat Target Temperature in Device Status

Open apphancer opened this issue 1 month ago • 2 comments

Current Situation

When requesting the device status for thermostat devices, only the temperature measured by the sensor is returned.

temperature: temperature read by thermostat sensor

The device status request for thermostat devices should return the target temperature, as this value is just as important as the current temperature reading.

Proposed Change

In the docs table for Smart Radiator Thermostat, change temperature: temperature in celsius

To

temperature: current ambient temperature in celsius as measured by the thermostat sensor targetTemperature: target temperature in celsius, regardless of how it was set (manual, scheduled, or other modes)

In the request response body add:

targetTemperature: target temperature in celsius

Additional Context

The Evaporative Humidifier uses a ⁠targetHumidify value, so to maintain consistency, the corresponding field for Thermostat devices could be named ⁠targetTemperature.

apphancer avatar Nov 18 '25 08:11 apphancer