core: Error Network Tuya after update / RESTART
The problem
Tuya all Devices are offline
What version of Home Assistant Core has the issue?
core-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
Tuya
Link to integration documentation on our website
No response
Diagnostics information
Logger: homeassistant.config_entries Quelle: config_entries.py:749 Erstmals aufgetreten: 05:58:59 (4 Vorkommnisse) Zuletzt protokolliert: 06:06:19
Error setting up entry myemail@mail.at 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
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 4
- Comments: 23
Thanks, so to summarize:
LocalTuya works
SmartLife and Tuya App work
TuyaCloud integration with Home Assistant is currently not working due to an API/network error
It started working again in my system. (RasPi 4)