localtuya
localtuya copied to clipboard
Issue with Fans and Kettle
I have 2 fans that since the 4.1.0 update keep turning on when they are off. The same thing happens with my kettle.
Every few minutes the 3 devices (2 fans and 1 kettle) turn on spontaneously. The option to remember previous state is not available on the fan domain, and I tried setting the default state to off with no success.
I disabled the devices in the tuya core (cloud) integration, I even deleted and re-added the devices.
So far the only fix is to revert back to 4.0.2
Environment
- 4.1.0 -->
- 4.0.2:
- 2022.9.5
- [x] Are you using the Home Assistant Tuya Cloud component ?
- [x] Are you using the Tuya App in parallel ?
Steps to reproduce
Configuration configuration.yaml
or config_flow
DP dump
Provide Home Assistant taceback/logs
Additional information
probably related to #1019
the fix is probably downgrade to v4.0 maybe 4.0.2 fixes your issue but for my test the issue still exist if you try reloading localtuya or restarting home assistant, with v4.0, none of my device randomly turning on/off by themselves even if you reload localtuya or restart HA.
Could not find the right words to explain my fan turning on after a restart or wi-fi drop, but this explains the phenomenon. I have had auto-on/offs with other devices (switches) as well but the option to remember the previous state solves the problem. Will be great to have an update for the other entity types as well with the aforementioned option.
Do not want to downgrade so a temp fix was to disable my localtuya fan and replace it with the official integration's.
Yep the same here with wifi fan
- became unavailable
- turned on
Same for me. Downgrading to 4.0 seems to have solved the issue
4.1.1 didn't resolve this issue, in fact it made things worse. Now a light strip is constantly disconnected. I had to revert back to 4.0.2 again.