If i add the device with the intergrated tuya then there will be create an “on/off” state but in the localtuya integration is no state.
{
"result": {
"properties": [
{
"code": "light",
"custom_name": "",
"dp_id": 6,
"time": 1736101852151,
"type": "bool",
"value": true
},
{
"code": "temp_set",
"custom_name": "",
"dp_id": 16,
"time": 1736101783209,
"type": "value",
"value": 4
},
{
"code": "temp_set_f",
"custom_name": "",
"dp_id": 17,
"time": 1736018614121,
"type": "value",
"value": 37
},
{
"code": "temp_unit_convert",
"custom_name": "",
"dp_id": 23,
"time": 1736018614121,
"type": "enum",
"value": "c"
},
{
"code": "temp_current",
"custom_name": "",
"dp_id": 24,
"time": 1736101783212,
"type": "value",
"value": 13
},
{
"code": "temp_current_f",
"custom_name": "",
"dp_id": 29,
"time": 1736018614121,
"type": "value",
"value": 32
},
{
"code": "fault",
"custom_name": "",
"dp_id": 45,
"time": 1736101783508,
"type": "bitmap",
"value": 0
},
{
"code": "RGB_mode",
"custom_name": "",
"dp_id": 101,
"time": 1736101836399,
"type": "enum",
"value": "2"
},
{
"code": "RGB_color",
"custom_name": "",
"dp_id": 102,
"time": 1736101806519,
"type": "enum",
"value": "blue"
},
{
"code": "RGB_brightness",
"custom_name": "",
"dp_id": 103,
"time": 1736101783821,
"type": "enum",
"value": "5"
},
{
"code": "RGB_light",
"custom_name": "",
"dp_id": 104,
"time": 1736101794360,
"type": "bool",
"value": true
}
]
},
"success": true,
"t": 1736270753710,
"tid": "728e7eadcd1c11ef9e5f9e9247cde4aa"
}
this is the querry return from the tuya cloud API.