-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
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
Tuya integration fails to initialise #141506
Comments
Hey there @tuya, @zlinoliver, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) tuya documentation |
Same here |
Tuya Integration suddenly doesn't initialize anymore. Please fix. EDIT: Core Supervisor Operating System Frontend |
Same here |
Same same |
1 similar comment
Same same |
Same here |
After reloading it works again. |
What did u reload ? I reloaded the hub and nothing happened matter of fact i cant even reload that now. |
Today I have tried again to get this working. After reloading the hub entry all of my devices showed up again, however they still do not work properly. The reload took about 10 minutes. After The reload, although I can see the controls for my smart-plugs, I cannot actually control them. If I try to turn on a plug the control slider moves to the ON position and turns blue, but the device does not switch on. After about 15 seconds the slider goes grey again and returns itself to the OFF position. Strangely, if I turn the plug on manually by pressing the physical button, Home Assistant reports this instantly and displays the slider in the ON position. I can also control the device properly and instantly in the Smart Life app. Having turned a device on manually using its physical button, even though Home Assistant reports the device's ON/OFF status correctly I still cannot control the device using Home Assistant. |
The problem occured again after 3 days without problems of initialising. The restart of Home Assistant is very slow as the Tuya integration just hangs for ages. |
Deactivating IP6 in Settings > Network fixed the problem for Tuya not initialising in Home Assistant. |
You really took me out of my misery. Man! Thanks! |
This has worked for me also. Well done that man! Should I close this thread, or leave it open as there is still clearly an issue related to the use of IPv6? |
i suggest to leave it open. |
Those were my thoughts too, so I shall leave it open. |
Tuya integration is not initialized. Deactivating IPv6 did not help |
Works for me. Thanks! |
Disabling IP6 didn't help me, it doesn't work! Something is broken) |
То же самое, то же самое |
Disabling ipv6 and reloading the integration worked! But is it integration or HA related? |
Disabling IP6 didn't help me, it doesn't work! |
Отключение IP6 мне не помогло, это не работает! |
The problem
A few days ago the Tuya integration showed it was 'initialising' and I couldn't get any further. I've used the integration for several months prior with no issues. After several minutes it changes to display "Failed to set up. Check the logs."
I have rolled back a few days and restored and backup but the issue persists.
All of the devices still function correctly in the SmartLife app. Deleting the integration and starting again I get as far as scanning the QR code using the SmartLife app, then when I click submit it just sits on the spinning blue circle.
I'm now stuck.
What version of Home Assistant Core has the issue?
2025.3.4
What was the last working version of Home Assistant Core?
No response
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
Anything in the logs that might be useful for us?
Logger: homeassistant.config_entries Source: config_entries.py:753 First occurred: 17:15:59 (1 occurrences) Last logged: 17:15:59 Error setting up entry [redacted]@googlemail.com for tuya Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 753, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/tuya/__init__.py", line 138, in async_setup_entry await hass.async_add_executor_job(manager.update_device_cache) asyncio.exceptions.CancelledError: Global task timeout
Additional information
No response
The text was updated successfully, but these errors were encountered: