home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.73k stars 30.46k forks source link

Tuya fsb, fan not working #67622

Closed tetsuo55 closed 2 years ago

tetsuo55 commented 2 years ago

The problem

Unfortunately my fan+light device still does not work. Only light on/off works all other functions do not.

Fan can't be turned on or off, direct and speed not shown on ui. Light doesn't change temperature when sliding the color temp Light doesn't get dimmer or brighter when changing brightness

What version of Home Assistant Core has the issue?

Core.2022.3.0

What was the last working version of Home Assistant Core?

Core.2021.11.x with custom Intergation

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tuya

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tuya/

Diagnostics information

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.3.0", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.9.9", "docker": true, "arch": "x86_64", "timezone": "Europe/Amsterdam", "os_name": "Linux", "os_version": "5.10.98", "supervisor": "2022.01.1", "host_os": "Home Assistant OS 7.4", "docker_version": "20.10.9", "chassis": "vm", "run_as_root": true }, "custom_components": { "brandstofprijzen": { "version": "0.3.0", "requirements": [ "beautifulsoup4==4.10.0" ] }, "anniversaries": { "version": "4.5.0", "requirements": [ "python-dateutil>=2.8.1", "integrationhelper>=0.2.2", "voluptuous>=0.12.1" ] }, "knmi": { "version": "1.1.7", "requirements": [] }, "thermal_comfort": { "version": "1.0.0", "requirements": [] }, "hacs": { "version": "1.23.0", "requirements": [ "aiogithubapi>=21.11.0" ] }, "luxtronik": { "version": "0.1.22", "requirements": [ "luxtronik==0.3.10" ] }, "powercalc": { "version": "v0.18.4", "requirements": [ "numpy>=1.21.1" ] }, "garmin_connect": { "version": "0.1.8", "requirements": [ "garminconnect==0.1.24" ] }, "adaptive_lighting": { "version": "1.0.14", "requirements": [] }, "neerslag": { "version": "2021.10.21.0", "requirements": [] }, "car_wash": { "version": "1.5.2", "requirements": [] }, "somneo": { "version": "2.2.7", "requirements": [ "pysomneo==2.2.1" ] }, "blitzortung": { "version": "1.0.1", "requirements": [ "paho-mqtt>=1.5.0" ] } }, "integration_manifest": { "domain": "tuya", "name": "Tuya", "documentation": "https://www.home-assistant.io/integrations/tuya", "requirements": [ "tuya-iot-py-sdk==0.6.6" ], "dependencies": [ "ffmpeg" ], "codeowners": [ "@Tuya", "@zlinoliver", "@METISU", "@frenck" ], "config_flow": true, "iot_class": "cloud_push", "dhcp": [ { "macaddress": "105A17" }, { "macaddress": "10D561" }, { "macaddress": "1869D8" }, { "macaddress": "381F8D" }, { "macaddress": "508A06" }, { "macaddress": "68572D" }, { "macaddress": "708976" }, { "macaddress": "7CF666" }, { "macaddress": "84E342" }, { "macaddress": "D4A651" }, { "macaddress": "D81F12*" } ], "loggers": [ "tuya_iot" ], "is_built_in": true }, "data": { "endpoint": "https://openapi.tuyaus.com", "auth_type": 0, "country_code": "1", "app_type": "smartlife", "mqtt_connected": true, "disabled_by": null, "disabled_polling": false, "name": "Light+Fan-new product", "model": "101", "category": "fsd", "product_id": "u5ovvhurbvynvspv", "product_name": "", "online": true, "sub": false, "time_zone": "+02:00", "active_time": "2021-08-08T12:51:47+00:00", "create_time": "2021-08-08T12:51:47+00:00", "update_time": "2022-02-27T03:21:49+00:00", "function": { "switch_led": { "type": "Boolean", "value": {} }, "work_mode": { "type": "Enum", "value": { "range": [ "white", "colour", "scene", "music" ] } }, "bright_value": { "type": "Integer", "value": { "min": 10, "max": 1000, "scale": 0, "step": 1 } }, "temp_value": { "type": "Integer", "value": { "min": 0, "max": 1000, "scale": 0, "step": 1 } }, "colour_data": { "type": "Json", "value": {} }, "scene_data": { "type": "String", "value": { "maxlen": 255 } }, "control_data": { "type": "String", "value": { "maxlen": 255 } }, "brightness_min_1": { "type": "Integer", "value": { "min": 10, "max": 1000, "scale": 0, "step": 1 } }, "led_type_1": { "type": "Enum", "value": { "range": [ "led", "incandescent", "halogen" ] } }, "fan_switch": { "type": "Boolean", "value": {} }, "fan_speed": { "type": "Integer", "value": { "unit": "", "min": 1, "max": 6, "scale": 0, "step": 1 } }, "fan_direction": { "type": "Enum", "value": { "range": [ "forward", "reverse" ] } }, "countdown_left_fan": { "type": "Integer", "value": { "unit": "min", "min": 0, "max": 540, "scale": 0, "step": 1 } } }, "status_range": { "switch_led": { "type": "Boolean", "value": {} }, "work_mode": { "type": "Enum", "value": { "range": [ "white", "colour", "scene", "music" ] } }, "bright_value": { "type": "Integer", "value": { "min": 10, "max": 1000, "scale": 0, "step": 1 } }, "temp_value": { "type": "Integer", "value": { "min": 0, "max": 1000, "scale": 0, "step": 1 } }, "colour_data": { "type": "Json", "value": {} }, "scene_data": { "type": "String", "value": { "maxlen": 255 } }, "brightness_min_1": { "type": "Integer", "value": { "min": 10, "max": 1000, "scale": 0, "step": 1 } }, "led_type_1": { "type": "Enum", "value": { "range": [ "led", "incandescent", "halogen" ] } }, "fan_switch": { "type": "Boolean", "value": {} }, "fan_speed": { "type": "Integer", "value": { "unit": "", "min": 1, "max": 6, "scale": 0, "step": 1 } }, "fan_direction": { "type": "Enum", "value": { "range": [ "forward", "reverse" ] } }, "countdown_left_fan": { "type": "Integer", "value": { "unit": "min", "min": 0, "max": 540, "scale": 0, "step": 1 } } }, "status": { "switch_led": false, "work_mode": "white", "bright_value": 500, "temp_value": 0, "colour_data": "", "scene_data": "", "brightness_min_1": 10, "led_type_1": "led", "fan_switch": false, "fan_speed": 1, "fan_direction": "forward", "countdown_left_fan": 0 }, "home_assistant": { "name": "Light+Fan-new product", "name_by_user": null, "disabled": false, "disabled_by": null, "entities": [ { "disabled": false, "disabled_by": null, "entity_category": null, "device_class": null, "original_device_class": null, "icon": null, "original_icon": null, "unit_of_measurement": null, "state": { "entity_id": "light.light_fan_new_product", "state": "off", "attributes": { "min_mireds": 153, "max_mireds": 500, "supported_color_modes": [ "brightness", "color_temp", "hs", "onoff" ], "friendly_name": "Light+Fan-new product", "supported_features": 0 }, "last_changed": "2022-03-04T00:20:15.163801+00:00", "last_updated": "2022-03-04T00:20:15.163801+00:00" } }, { "disabled": false, "disabled_by": null, "entity_category": null, "device_class": null, "original_device_class": null, "icon": null, "original_icon": null, "unit_of_measurement": null, "state": { "entity_id": "fan.light_fan_new_product", "state": "unknown", "attributes": { "speed_list": [ "off", "low", "medium", "high" ], "preset_modes": [], "direction": "forward", "speed": "low", "percentage": 1, "percentage_step": 1.0, "preset_mode": null, "friendly_name": "Light+Fan-new product", "supported_features": 5 }, "last_changed": "2022-03-04T00:00:11.751036+00:00", "last_updated": "2022-03-04T00:00:11.751036+00:00" } } ] } } }

Example YAML snippet

N/a

Anything in the logs that might be useful for us?

N/a

Additional information

N/a

probot-home-assistant[bot] commented 2 years ago

tuya documentation tuya source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @tuya, @zlinoliver, @metisu, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

tetsuo55 commented 2 years ago

Still doesn't work,there haven't been any commits that would make it work