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
871 stars 206 forks source link

Why are devices unsupported? Referencing issue #58280 #719

Open bkr1969 opened 2 years ago

bkr1969 commented 2 years ago

Describe the bug Why do some lights show unsupported now when they worked previously?

Expected behavior I expected my lights to be recognized and work.

Screenshots If applicable, add screenshots to help explain your problem.

Home Assistant Version

Device info (please complete the following information, which can be found in log): like this: I have rolled back to 2021.10.6 so the log is not helpful, but the device has been verified through the Tuya site as type dj

Device specifications (please complete the following information, which can be found in log): Same device's id, like this: [2021-07-01 10:18:01,351] [tuya-openapi] Request: method = GET, url = https://openapi.tuyacn.com/v1.0/devices/aaaaaaaaaaa/specifications, params = None, body = None, headers = {'client_id': 'xxxxxxxxxxxx', 'sign': 'xxxxxxxxxxxx', 'sign_method': 'HMAC-SHA256', 'access_token': 'xxxxxxxxxxxxxxxx', 't': '1625105881351', 'lang': 'en'} 2021-07-01 10:18:01 DEBUG (SyncWorker_1) [tuya iot] Response: { "result": { "category": "cz", "functions": [ { "code": "countdown_1", "type": "Integer", "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}" }, { "code": "switch", "type": "Boolean", "values": "{}" } ], "status": [ { "code": "cur_voltage", "type": "Integer", "values": "{\"unit\":\"V\",\"min\":0,\"max\":2500,\"scale\":0,\"step\":1}" }, { "code": "cur_current", "type": "Integer", "values": "{\"unit\":\"mA\",\"min\":0,\"max\":30000,\"scale\":0,\"step\":1}" }, { "code": "switch", "type": "Boolean", "values": "{}" }, { "code": "cur_power", "type": "Integer", "values": "{\"unit\":\"W\",\"min\":0,\"max\":50000,\"scale\":0,\"step\":1}" }, { "code": "countdown_1", "type": "Integer", "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}" } ] }, "success": true, "t": 1625105881348 }

Additional context Add any other context or logs about the problem here.

bkr1969 commented 2 years ago

So, digging deeper, the majority of light types don't list support in 2021.11, including my device type "dj." can we get these supported?

isteaks commented 2 years ago

I have the same issue all my lights are not recognized in Home assistant (unsupported). using Home assistant version 2021.11.5

Product Name: Lidl RGBCW A60 Sunpu ZS3L Device ID: bf25b172ab56347bf2kllp Product Category: dj

[ { "code": "switch_led", "value": true }, { "code": "work_mode", "value": "white" }, { "code": "bright_value_v2", "value": 1000 }, { "code": "temp_value_v2", "value": 153 }, { "code": "colour_data_v2", "value": { "h": 242, "s": 1000, "v": 1000 } }, { "code": "scene_data_v2", "value": { "scene_num": 1, "scene_units": [ { "bright": 200, "h": 0, "s": 0, "temperature": 0, "unit_change_mode": "static", "unit_gradient_duration": 13, "unit_switch_duration": 13, "v": 0 } ] } }, { "code": "control_data", "value": {} }, { "code": "countdown_1", "value": 0 } ]

aqus555 commented 2 years ago

Same here was working great before then suddenly four lights with same switch gone

KS-7011 (unsupported) by Tuya

Logger: homeassistant.helpers.service Source: helpers/service.py:130 First occurred: November 29, 2021, 9:51:27 PM (22 occurrences) Last logged: 10:43:58 AM

Unable to find referenced entities light.bedroom, light.family_room, light.walk_in_room Unable to find referenced entities light.bedroom

bkr1969 commented 2 years ago

Is anyone looking into this? I don't want to be stuck on 2021.10.6 forever.

bkr1969 commented 2 years ago

I just updated to 2021.12.1 and my device type dj is listed as unsupported. It's odd because in the release notes it is mentioned as having fixed the brightness attribute for device dj. This is a really important light in my automations. Can we PLEASE get this fixed?