tuya/tuya-home-assistant

Fan is showing up but no controls available including on/off or fan speed

Open

#100 opened on Jul 6, 2021

View on GitHub
 (11 comments) (0 reactions) (0 assignees) (206 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (960 stars)
PR merge metrics
 (PR metrics pending)

Description

Existing Tuya integration detect FAN as a switch but no Fan Speed control but tuya v2 does detect but no control for Fan Turn on/off or Fan Speed

Device normal info

  • Homemate
  • Model

Device info (please complete the following information, which can be found in log): like this: { "active_time": 1624690956, "biz_type": 18, "category": "fs", "create_time": 1624690956, "icon": "smart/icon/ay1555587406780sSPrA/d47e62f529234826a9b4c5be7c26efb9.png", "id": "eba3fa0e92623b3535t31u", "ip": "xxx.xxx.xxx.xxx", "lat": "xxxxxxxxxxxxx", "local_key": "3a1afef8ee34355c", "lon": "xxxxxxxxxxxx", "name": "Fan Pantry HM4", "online": true, "owner_id": "22586758", "product_id": "vv2ulpgrr1faptiz", "product_name": "Touch Fan Regulator WB", "status": [ { "code": "switch", "value": false }, { "code": "fan_speed_percent", "value": 1 } ], "sub": false, "time_zone": "+05:30", "uid": "az1599543442118VT26q", "update_time": 1625574081, "uuid": "188be4bb94e2aeff" }

Device specifications (please complete the following information, which can be found in log): Same device's id, like this: 2021-07-06 17:57:50 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/eba3fa0e92623b3535t31u/specifications, params = None, body = None, headers = {'client_id': '5efushdkaoaicowimadn', 'sign': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'sign_method': 'HMAC-SHA256', 'access_token': 'xxxxxxxxxxxxxxxxx', 't': '1625574470310', 'lang': 'en'}

Contributor guide