Analysis
The SwitchBot API GET /v1.1/devices endpoint returns "Standing Fan" as the deviceType
for Standing Circulator Fan devices, while the official documentation states it
should be "Standing Circulator Fan".
Expected Behavior
{
"deviceType": "Standing Circulator Fan"
}
Steps To Reproduce
- Register a Standing Circulator Fan to a SwitchBot Hub
- Call
GET https://api.switch-bot.com/v1.1/devices
- Check the
deviceType field in the response for the Standing Circulator Fan
Logs
{
"deviceId": "XXXXXXXXXXXX",
"deviceName": "Standing Circulator Fan",
"deviceType": "Standing Fan",
...
}
Additional Context
BatteryCirculatorFan and CirculatorFan correctly return their documented strings.
Please correct the API to return "Standing Circulator Fan" as documented,
or update the documentation to reflect the actual behavior.
Analysis
The SwitchBot API
GET /v1.1/devicesendpoint returns"Standing Fan"as thedeviceTypefor Standing Circulator Fan devices, while the official documentation states it
should be
"Standing Circulator Fan".Expected Behavior
Steps To Reproduce
GET https://api.switch-bot.com/v1.1/devicesdeviceTypefield in the response for the Standing Circulator FanLogs
{ "deviceId": "XXXXXXXXXXXX", "deviceName": "Standing Circulator Fan", "deviceType": "Standing Fan", ... }Additional Context
BatteryCirculatorFanandCirculatorFancorrectly return their documented strings.Please correct the API to return
"Standing Circulator Fan"as documented,or update the documentation to reflect the actual behavior.