-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Setup error #144791
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
Comments
SEE: #144785 |
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 issue and same error here on my instance (2025.5.1). Working fine last night, seemed to have failed around 6am BST today. |
Same error for me: Error setting up entry leif@kuhlins.com for tuya |
look also: #144785 |
Same error for me. homeassistant.exceptions.ConfigEntryNotReady: Unexpected error: Expecting value: line 1 column 1 (char 0) |
Same here, LocalTuya and Tuya App and SmartLife App and Google Home works. Home Assistant doesnt work: Error setting up entry myemail@mail.at
|
Same on my side starting from today: Rejestrator: homeassistant.config_entries Error setting up entry gg-102991391006402564331 for tuya |
Have raised a ticket on Tuya too just in case....... |
Same for me since today 8am CET - HA 2024.4.4
|
Same for me. |
Just rebooted HA for the 4th time and now working - coincidence? |
it works - I reloaded the tuya configuration |
No, I just restarted and everything is back... |
Reload also fixed the issues for me now. So it seems the issue was related to something with the Tuya Cloud itself. |
Also restarted the plugin and now working, in that case this has to be a backend issue as I tried restarting the plug several times prior to posting and it was still not working. |
I can also confirm that it works back. |
+1 also broke after last upgrade. reboot didn't help. reload didn't help 2hrs ago. Now reload fixed it. |
Not sure if it helps, but see last response 09:24 ..... @.*** 05-13 08:14:15 Tuya Engineer05-13 08:24:00 @.*** 05-13 08:50:08 Tuya Engineer05-13 09:24:53 |
I may have a related issue. My Tuya integration reports "Failed to setup" after a restore. I believe to re-authenticate, one has to add the integration again, without disturbing the existing instance. My problem is that the setup process fails to get past entering the user code from the mobile app. I get a spinning circle and after probably ten to fifteen minutes, a "setup has failed error". |
Still facing the same issues for the 3rd day in a row, no state updates except with a reload. |
The issue of the integration not initializing from yesterday has been gone, but indeed I too am still facing the issues of the states not updating in the Tuya integration until I reload the integration. |
Same for me. Entities have no updates. Switche states and values only are updated, when the integration is reloaded |
Same problem @949BFN |
Regarding status changes: Did you check whether the system option "Enable change query" is enabled in the Tuya integration? |
Okay, then I'm afraid I don't know what to do, because it works perfectly for me. Maybe you should reinstall the entire integration!?!?!? But I don't know if that solves the problem. SORRY :( |
I doubt it does because with the issues from a few days ago I did a restore to 2025.4.4 and I had to re-auth due to this, which is basically a reinstall as it is a HA Core integration, so removal and recreate the account should do a pretty similar thing as the re-auth does (unless I am forgetting something here 😅) |
All I can say is that with the latest HA version, Tuya is working perfectly again. Perhaps upgrading to the latest version? |
I have the 2025.5.1 too. After stat no changes in my case. |
For me it stays good for a little while, but then stops syncing again. |
No number of restarts, reloads, or re-authentications has thus far resolved this issue. |
Definitely the same issue as mine. And there is no "Re-Authorize" button as one would usually get to re-authorize. I'm sure the developers will know how to reset the authentication process. I'm in a serious pickle without this integration. Can't open and close blinds e.g. and stupid me only relies on the integration and only got one remote for all blinds because I thought I wouldn't need them. That is only one of my issues. :-( |
The same problem `Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): Restarting HA helps for a few minutes/hours, but after some time the problem returning |
The problem
I would like to report an error here.
After successfully logging into the Smart Life app, a setup error occurs in Home Assistant. No devices are being loaded. Please help. Here is the log:
Logger: homeassistant.config_entries
Quelle: config_entries.py:749
Erstmals aufgetreten: 07:26:58 (10 Vorkommnisse)
Zuletzt protokolliert: 07:48:27
Error setting up entry ramsch@peter-jojko.de for tuya
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, 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)
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.13/site-packages/tuya_sharing/manager.py", line 62, in update_device_cache
devices_by_home = self.device_repository.query_devices_by_home(home.id)
File "/usr/local/lib/python3.13/site-packages/tuya_sharing/device.py", line 106, in query_devices_by_home
return self._query_devices(response)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/tuya_sharing/device.py", line 125, in _query_devices
self.update_device_strategy_info(device)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/tuya_sharing/device.py", line 149, in update_device_strategy_info
response = self.api.get(f"/v1.0/m/life/devices/{device_id}/status")
File "/usr/local/lib/python3.13/site-packages/tuya_sharing/customerapi.py", line 176, in get
return self.__request("GET", path, params, None)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/tuya_sharing/customerapi.py", line 121, in __request
raise Exception(f"network error:({ret['code']}) {ret['msg']}")
Exception: network error:(-9999999) Remote api run unknown failed
What version of Home Assistant Core has the issue?
2025.5.1
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
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: