-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: LocalTuya does not change fan speed #267
Comments
Re-configure the device and choose the DP Value on fan step "str" instead of "int" |
It works now! Now I see, that the
but it was mistakenly interpreted as int:
|
It's not about the auto configuration, I mean I don't even understand what's the point of having the user to choose the type of the DP, As far as I saw if the speed DP is defined as "ordered list" and it always "String" and if it' defined as min/max it always "Integer" I haven't made changes for fan but I may actually force the DP to be string type if speed defined as list, 🤔 |
I can't say for sure that I never touched those settings. OK, it works now and it is good! Thank you! Not related, but while I can ask you without creating a ticket... Is it correct that hass-localtuya/custom_components/localtuya/__init__.py Lines 461 to 469 in b0a806b
I have some disabled devices and now I wonder if they may prevent reconnecting to other devices. |
It does may break the reconnect process, thank you for pointing that It should be |
This issue was closed because it was resolved on the release: 2024.7.0 |
LocalTuya Version
2024.6.0
Home Assistant Version
2024.6.1
Environment
What happened?
I have a WiFi fan, with 3 speeds, integers as a list. When I change the speed, the log shows that percentage is correctly translated into the list value, but the speed does not change. You can see on screenshots that the speed control is medium or high, but the value remains 33%. If I change the speed from SmartLife, HA displays 66% or 100% as appropriate.
So, actually, HA/LocalTuya can only turn the fan off or on at the low speed.
Screenshots
Steps to reproduce.
Change fan speed from HA.
Relevant log output
Diagnostics information.
localtuya-944c1616039a1d1ec6b9745179bff74e-Iot Fan Tower T1 -db41ae908ba13db49c2a0f489757fa32.json
The text was updated successfully, but these errors were encountered: