Open tel196 opened 3 years ago
same experience , please fix this, this switch/fan controller is being sold at the biggest retailer and would have the biggest install base
With 1.5.0 update, the light switch is now shows up as an entity however it allows to turn it on once, it's keeps changing back to off status. Fan Switch works but without speed control.
@tel196 @Gitspecial
We managed to get my fan speeds working in https://github.com/tuya/tuya-home-assistant/pull/490 (at the time I'm writing this there is one change missing in the pr itself but mentioned in the comments).
That pr (just fan.py) should also work for your fan, could you test?
I have the same issue - With a dig around the Tuya IOT portal it looks like the 6914HA does not import all the functions of the device into the IOT device.
Extract of IOT portal debug (Sorry if this is incorrect, i'm very new to this) JSON payload
[ { "code": "switch", "value": false }, { "code": "fan_speed", "value": "3" } ]
However, if I review the IOT portal Device logs - i can see "light" interactions as it is triggered by the Tuya phone app and Google home.
Hi All I have got my devices showing in the new Tuya V2 integration and most devices are working fine. I have fan and light controller that is only showing as a fan with a switch though. I did have it set in local tuya integration and it was working previously I have no programming experience and am lost reading through how to add new drivers. Really looking forward to getting local integration as well, thats why I have jumped into this beta.
Log is "active_time": 1625406966, "biz_type": 0, "category": "fs", "create_time": 1611821867, "icon": "smart/icon/ay1536534747810ekKBj/1565058689ed6aa6cfa1e.png", "id": "13033500483fda589641", "ip": "IP", "lat": "Location", "local_key": "KEY", "lon": "Location", "name": "Fan Switch 6914HA", "online": true, "owner_id": "5598630", "product_id": "kykcqnig6mhf354c", "product_name": "Fan Switch 6914HA", "status": [ { "code": "switch", "value": false }, { "code": "fan_speed", "value": "3" }, { "code": "light", "value": false } ], "sub": false, "time_zone": "+08:00", "uid": "eu15667885876985AAAq", "update_time": 1625406972, "uuid": "13033500483fda589641" } ], "success": true, "t": 1625452235755
"result": { "category": "fs", "functions": [ { "code": "light", "type": "Boolean", "values": "{}" }, { "code": "fan_speed", "type": "Enum", "values": "{\"range\":[\"1\",\"2\",\"3\"]}" }, { "code": "switch", "type": "Boolean", "values": "{}" } ], "status": [ { "code": "light", "type": "Boolean", "values": "{}" }, { "code": "fan_speed", "type": "Enum", "values": "{\"range\":[\"1\",\"2\",\"3\"]}" }, { "code": "switch", "type": "Boolean", "values": "{}" } ] }, "success": true, "t": 1625452236922
From the Tuya app it all shows and works perfectly