(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~!!