I found the API explorer under Cloud on iot.tuya.com, a lot of different JSON can be created here.
This JSON is the “specification and properties”
Device 1: 1st floor, working as expected (5 out of 6 times)
{
"result": {
"category": "wk",
"functions": [
{
"code": "temp_set",
"desc": "{\"unit\":\"℃\",\"min\":50,\"max\":400,\"scale\":1,\"step\":5}",
"name": "温度设置",
"type": "Integer",
"values": "{\"unit\":\"℃\",\"min\":50,\"max\":400,\"scale\":1,\"step\":5}"
},
{
"code": "temp_set_f",
"desc": "{\"unit\":\"℉\",\"min\":410,\"max\":1040,\"scale\":1,\"step\":10}",
"name": "目标温度_F",
"type": "Integer",
"values": "{\"unit\":\"℉\",\"min\":410,\"max\":1040,\"scale\":1,\"step\":10}"
},
{
"code": "factory_reset",
"desc": "{}",
"name": "恢复出厂设置",
"type": "Boolean",
"values": "{}"
}
],
"status": [
{
"code": "temp_set",
"name": "温度设置",
"type": "Integer",
"values": "{\"unit\":\"℃\",\"min\":50,\"max\":400,\"scale\":1,\"step\":5}"
},
{
"code": "temp_set_f",
"name": "目标温度_F",
"type": "Integer",
"values": "{\"unit\":\"℉\",\"min\":410,\"max\":1040,\"scale\":1,\"step\":10}"
},
{
"code": "temp_current",
"name": "当前温度",
"type": "Integer",
"values": "{\"unit\":\"℃\",\"min\":0,\"max\":450,\"scale\":1,\"step\":5}"
},
{
"code": "temp_current_f",
"name": "当前温度_F",
"type": "Integer",
"values": "{\"unit\":\"℉\",\"min\":320,\"max\":1130,\"scale\":1,\"step\":10}"
}
]
},
"success": true,
"t": 1667804771835,
"tid": "a9450c445e6a11ed8a41fe1b67a66e75"
}
Device 2: 2nd floor, device only shows actuals (6 out of 6 times)
{
"result": {
"category": "wk",
"functions": [
{
"code": "temp_set",
"desc": "{\"unit\":\"℃\",\"min\":50,\"max\":400,\"scale\":1,\"step\":5}",
"name": "温度设置",
"type": "Integer",
"values": "{\"unit\":\"℃\",\"min\":50,\"max\":400,\"scale\":1,\"step\":5}"
},
{
"code": "temp_set_f",
"desc": "{\"unit\":\"℉\",\"min\":410,\"max\":1040,\"scale\":1,\"step\":10}",
"name": "目标温度_F",
"type": "Integer",
"values": "{\"unit\":\"℉\",\"min\":410,\"max\":1040,\"scale\":1,\"step\":10}"
},
{
"code": "factory_reset",
"desc": "{}",
"name": "恢复出厂设置",
"type": "Boolean",
"values": "{}"
}
],
"status": [
{
"code": "temp_set",
"name": "温度设置",
"type": "Integer",
"values": "{\"unit\":\"℃\",\"min\":50,\"max\":400,\"scale\":1,\"step\":5}"
},
{
"code": "temp_set_f",
"name": "目标温度_F",
"type": "Integer",
"values": "{\"unit\":\"℉\",\"min\":410,\"max\":1040,\"scale\":1,\"step\":10}"
},
{
"code": "temp_current",
"name": "当前温度",
"type": "Integer",
"values": "{\"unit\":\"℃\",\"min\":0,\"max\":450,\"scale\":1,\"step\":5}"
},
{
"code": "temp_current_f",
"name": "当前温度_F",
"type": "Integer",
"values": "{\"unit\":\"℉\",\"min\":320,\"max\":1130,\"scale\":1,\"step\":10}"
}
]
},
"success": true,
"t": 1667803127768,
"tid": "d553e01b5e6611edb43ae68f1605df98"
}