Open dalewright opened 3 years ago
I think there is a bug with Fan speed remapping, which we will fix in the next release. You lost "fan_direction" in your device info, so you should create a ticket in the Tuya service console with your device specifications to standardize it. https://service.console.tuya.com/8/2/create?step=3&id=01030503&source=content_feedback.
@tsutsuku
Thank you very much. I have submitted the ticket to your team.
https://service.console.tuya.com/8/2/detail?id=T20210816000101
Device normal info
** Tuya Smart Life App Screenshot
**Device info
{ "active_time": 1627095496, "biz_type": 0, "category": "fs", "create_time": 1627095496, "icon": "smart/icon/bay1584532656526XHLd/4174877b87bb92ca949b71f3c24771c1.png", "id": "82823423e09806aab4b3", "ip": "", "lat": "", "local_key": "", "lon": "", "name": "Alfresco Fan", "online": true, "owner_id": "12383088", "product_id": "vzj97d3m05yjhchn", "product_name": "Skyfan DC", "status": [ { "code": "switch", "value": false }, { "code": "fan_speed_percent", "value": 3 } ], "sub": false, "time_zone": "+10:00", "uid": "***", "update_time": 1629047358, "uuid": "82823423e09806aab4b3" },
**Device specifications
2021-08-16 10:38:36 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaeu.com/v1.0/devices/82823423e09806aab4b3/specifications, params = None, body = None, t = 1629074316077 2021-08-16 10:38:36 DEBUG (Thread-5) [tuya iot] _on_log: Received CONNACK (0, 0) 2021-08-16 10:38:36 DEBUG (Thread-5) [tuya iot] connect flags->{'session present': 0}, rc->0 2021-08-16 10:38:36 DEBUG (Thread-5) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f2d48ca5fdbdc172ffa992f69789c2a0', 0)] 2021-08-16 10:38:36 DEBUG (SyncWorker_1) [tuya iot] Response: { "result": { "category": "fs", "functions": [ { "code": "switch", "type": "Boolean", "values": "{}" }, { "code": "fan_speed_percent", "type": "Integer", "values": "{\"min\":\"1\",\"max\":\"5\",\"scale\":\"0\",\"step\":\"1\"}" } ], "status": [ { "code": "switch", "type": "Boolean", "values": "{}" }, { "code": "fan_speed_percent", "type": "Integer", "values": "{\"min\":\"1\",\"max\":\"5\",\"scale\":\"0\",\"step\":\"1\"}" } ] }, "success": true, "t": 1629074316297 }