Open Sincere74 opened 3 weeks ago
Post the entry diagnostics note that it may be broken in HA 2024.6.
Also what is this device that you're trying to add? I can see there is response from gateway but also no detected dps for some reason.
Hello, having the same issue with a wifi energy meter (model SQ-Wifi-CT02 : https://www.aliexpress.com/item/1005006212527242.html?spm=a2g0o.order_list.order_list_main.4.374f5e5bUjwHJ8&gatewayAdapt=glo2fra)
The same issue with my Air Conditioner Mate.
If not key in sub-device node ID, i can succeed, but can only monitor Voltage,current, power. If key in sub-device node ID, it shown as above.
https://developer.tuya.com/en/docs/iot/solution-introduction?id=K9tp15mflhn4i
Here is the devices.json info, got by tinytuya. https://github.com/jasonacox/tinytuya
_{
"name": "\u7a7a\u8c03",
"id": "6cf170c0c2cdf63c*********",
"key": ";z0v)V;h[**********",
"mac": "",
"category": "infrared_ac",
"product_name": "\u7a7a\u8c03",
"product_id": "jllh2kdbGM0QTdf1",
"biz_type": 18,
"model": "",
"sub": true,
"icon": "https://images.tuyacn.com/smart/icon/1538039048p03rjhzm8as_0.png",
"uuid": "6cf170c0c2cdf63c3******",
"node_id": "f919e9057b0******",
"mapping": {
"wind": {
"code": "wind",
"type": "ENUM",
"values": {
"min": 0,
"max": 3,
"scale": 0,
"step": 1,
"type": "Integer"
}
},
"mode": {
"code": "mode",
"type": "ENUM",
"values": {
"min": 0,
"max": 4,
"scale": 0,
"step": 1,
"type": "Integer"
}
},
"power": {
"code": "power",
"type": "BOOLEAN",
"values": {}
},
"temp": {
"code": "temp",
"type": "ENUM",
"values": {
"min": 16,
"max": 30,
"scale": 0,
"step": 1,
"type": "Integer"
}
},
"F": {
"code": "F",
"type": "ENUM",
"values": {
"min": 0,
"max": 3,
"scale": 0,
"step": 1,
"type": "Integer"
}
},
"M": {
"code": "M",
"type": "ENUM",
"values": {
"min": 0,
"max": 4,
"scale": 0,
"step": 1,
"type": "Integer"
}
},
"PowerOff": {
"code": "PowerOff",
"type": "STRING",
"values": "PowerOff"
},
"PowerOn": {
"code": "PowerOn",
"type": "STRING",
"values": "PowerOn"
},
"T": {
"code": "T",
"type": "ENUM",
"values": {
"min": 16,
"max": 30,
"scale": 0,
"step": 1,
"type": "Integer"
}
}
},
"parent": "02251703e8db84******",
"ip": "",
"version": ""
},
{
"name": "\u6d82\u9e26\u7a7a\u8c03\u4f34\u4fa3",
"id": "02251703e8db84********",
"key": ";z0v)V;h[S*****",
"mac": "e8:db:84:b3:*****",
"uuid": "02251703e8db84********",
"sn": "XJECK19DH****8",
"category": "wnykq",
"product_name": "\u7a7a\u8c03\u4f34\u4fa3",
"product_id": "orpegw0cfq1htmpv",
"biz_type": 18,
"model": "",
"sub": false,
"icon": "https://images.tuyacn.com/smart/icon/ay1539168861205DkDuL/ba4c5edf05bdaf3e2b56e14ba9aa4738.png",
"mapping": {},
"ip": "192.168.11.11",
"version": ""
}_
@yuntian123456 You can't add the Sub-Devices that created or managed by "Universal remote control" these devices data stored in Tuya cloud not in the device it self, so locally it not usable unless you add the remote it self and create a button in home-assistant it self https://github.com/xZetsubou/hass-localtuya/discussions/152#discussioncomment-8715426 if you set-up cloud with localtuya maybe entry diagnostics may give you a hint of what you are looking for.
LocalTuya Version
2024.6.0
Home Assistant Version
2024.6.1
Environment
What happened?
A bug happened!
Steps to reproduce.
Relevant log output
Diagnostics information.
No response