Hello, while debugging a Homebridge plugin, I might have found an issue with the SmartThings API. Indeed, the REST API seems to make an invalid cast and returns an error when trying to set hue or saturation with a POST request to https://api.smartthings.com/v1/devices/<device-id>/commands and the following body :
[{
"capability":"colorControl",
"command":"setHue",
"arguments":[53]
}]
The response I got is :
{
"requestId": "88CB09C5-A653-403F-83EB-32CEBA28A6AB",
"error": {
"code": "connector failed",
"message": "java.lang.Integer cannot be cast to java.util.Map",
"details": []
}
}
The same issue occur with the setSaturation command, however using setColor works as expected.
Is there a place I can send an official bug report for this issue ?
Color control commands references : Production Capabilities | SmartThings Developers

