Tuya engineer09-26 07:37:43
Hello, check the format of the BODY entry parameter for your reference
{
"commands": [
{
"code": "control_data",
"value": {
"bright":10,
"change_mode":"direct",
"temperature":572,
"h":0,
"s":0,
"v":0
}
}
]
}
The order of things is slightly different here, and I've tried this aswell but i'm still getting the same error.
The Livingroom light 1 control_data was set to "value": { "bright":10, "change_mode":"direct", "temperature":572, "h":0, "s":0, "v":0 } } ] }
Error: type is incorrect
The Livingroom light 1 control_data was set to {"value": { "bright":10, "change_mode":"direct", "temperature":572, "h":0, "s":0, "v":0 } } ] }
Error: type is incorrect
The Livingroom light 1 control_data was set to { "bright":10, "change_mode":"direct", "temperature":572, "h":0, "s":0, "v":0 }
Error: type is incorrect
The Livingroom light 1 control_data was set to { "value": { "bright":10, "change_mode":"direct", "temperature":572, "h":50, "s":50, "v":50 } } ] }
Error: type is incorrect
The Livingroom light 1 control_data was set to { "commands": [ { "code": "control_data", "value": { "bright":10, "change_mode":"direct", "temperature":572, "h":0, "s":0, "v":0 } } ] }
Error: type is incorrect