Regarding switchLevel, the specifications of the official reference site and api are different


(https://smartthings.developer.samsung.com/docs/api-ref/capabilities.html)

https://api.smartthings.com/capabilities/switchLevel/1
=>
“commands”: {
“setLevel”: {
“arguments”: [
{
“name”: “level”,
“optional”: false,
“schema”: {
“type”: “integer”,
“minimum”: 0,
“maximum”: 100
}
},
{
“name”: “rate”,
“optional”: false,
“schema”: {
“title”: “PositiveInteger”,
“type”: “integer”,
“minimum”: 0
}
}
]
}
}

Hi~!!
The optional value in the rete item of the switchLevel capability is different between the api and the reference document.
Please let me know which one is right and correct it
Thanks~!!

Welcome @wzin! The “rate” argument is optional as the documentation says. Our engineering team is already working on the modification to the API. Thank you for your input.
Please, mark this post as the solution if it was helpful. If not, I’ll be here to answer your questions.