tuya / tuya-home-assistant

Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
MIT License
879 stars 207 forks source link

ldcg Light Sensor not working in Tuya Core Release 2021.11 #671

Open Ak-d0V opened 3 years ago

Ak-d0V commented 3 years ago

I have a Tuya Zigbee Light/Temperature/Humidity ("Smart Brightness Thermometer") sensor under the category ldcg that isn't working in the Release 2021.11 I can find the device but it has no entities

Below is the Device Specifications copied from the Tuya API explorer, hope that helps

{ "result": { "category": "ldcg", "functions": [ { "code": "bright_sensitivity", "dp_id": 9, "type": "Integer", "values": "{\"unit\":\"lux\",\"min\":10,\"max\":100,\"scale\":0,\"step\":1}" } ], "status": [ { "code": "bright_value", "dp_id": 2, "type": "Integer", "values": "{\"unit\":\"lux\",\"min\":0,\"max\":999,\"scale\":0,\"step\":1}" }, { "code": "battery_percentage", "dp_id": 4, "type": "Integer", "values": "{\"unit\":\"%\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}" }, { "code": "temp_current", "dp_id": 6, "type": "Integer", "values": "{\"unit\":\"°C\",\"min\":0,\"max\":500,\"scale\":1,\"step\":1}" }, { "code": "humidity_value", "dp_id": 7, "type": "Integer", "values": "{\"unit\":\"%\",\"min\":0,\"max\":1000,\"scale\":1,\"step\":1}" }, { "code": "bright_sensitivity", "dp_id": 9, "type": "Integer", "values": "{\"unit\":\"lux\",\"min\":10,\"max\":100,\"scale\":0,\"step\":1}" } ] }, "success": true, "t": 1636130265958 }

frenck commented 3 years ago

hey @Ak-d0V!

Not sure why you mentioned me. This also isn't the Home Assistant issue tracker either.