SwitchBotAPI icon indicating copy to clipboard operation
SwitchBotAPI copied to clipboard

Missing Thermostat Target Temperature in Device Status

Open apphancer opened this issue 2 months 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

Any updates on this @SwitchBot-Wonderlabs ? We need this and also a field that tells us if the valve is currently open or closed.

fedme avatar Dec 27 '25 23:12 fedme

Fully agree with @fedme that the current open/closed state would be very useful.

apphancer avatar Dec 28 '25 10:12 apphancer