Hi,
I am trying to use the Smartthings Rest API to execute commands, on & off, on my switch. I use this for reference: https://smartthings.developer.samsung.com/develop/api-ref/st-api.html#operation/executeDeviceCommands. For the request body in Postman, I use the below. The response is successful, as it shows ‘{ }’. However, my switch isn’t turning on. What may be wrong with my request?
{
"commands": [
{
"component": "main",
"capability": "switch",
"command": "on"
}
]
}