core: Tuya Integration Failed to Unload (No Entities)
The problem
My Tuya devices are all missing all of a sudden. When I click reload, it tells me to restart. It does not work. I tried relinking my Tuya App to the Tuya Cloud account which did not prove successful here.
What version of Home Assistant Core has the issue?
come-2024.1.6
What was the last working version of Home Assistant Core?
core-2024.1.6
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
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Error unloading entry Tuya for tuya
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 561, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/tuya/__init__.py", line 131, in async_unload_entry
hass_data.device_manager.mq.stop()
File "/usr/local/lib/python3.11/site-packages/tuya_iot/openmq.py", line 212, in stop
self.client.disconnect()
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'disconnect'
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 5 months ago
- Reactions: 6
- Comments: 75 (2 by maintainers)
yet more proof why you can’t trust ‘cloud-based’ services not to scr*w you over!
localtuya seems to still work for my light bulbs
Closing this issue. Please see #80278 for more information.
If that doesn’t help, please contact Tuya support. This is not solvable by us or an issue of the Home Assistant project, but an issue with your account / Tuya cloud.
To contact support please log in into your Tuya IoT cloud account and use their ticketing system.
Thanks 👍
…/Frenck
Same happening to me. Pretty scummy from them
If we look in repository of this integration… all files has updates 2 days ago… maaaaaybeeeee… something happens here ?
Is working in web… Is working in tuya app… Is working from alexa…
Is not working only with home assistant !!!
Thanks, when I attempt to add Tuya again, I dont see the option to put my USER Code. I just have the old way. How did you do it again?
@frenck Thank you for letting me know… I guess this was a mistake, and I’m glad I kept my Tuya devices to a minimum…
which will very quickly become unsustainable!
Failed to subscribe trial edition! You have subscribed to the trial edition before, and cannot subscribe again. Please consider upgrading to other versions.
you need to use new accounts !
For me No. since I did not change the device names or anything in the smart life app when i attached the new account in HA they had the same name
Exactly, I have already replaced 80% of my equipment with Zigbee… precisely if this problem were to arise.
Same here, I don’t think it’s because of the HA update. I lost TUYA integration at 3:56 p.m
If I hadn’t started the migration to Zigbee and much more nothing would work for me