curl --location -g --request POST 'https://localhost:8092/json-rpc/component' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"command": "componentstate",
"instance": [
0
],
"componentstate": {
"component": "LEDDEVICE",
"state": false
},
"tan": 4711
}'
{
"command": "componentstate",
"success": true,
"tan": 4711
}