Open okleinschmidt opened 1 day ago
Same problem here. I delete all my devices from the integration and now HA is not able to discover them.
Same for me, upgrading (docker) from 2024.11.2 to 2024.11.3 crashed my tuya integration; rollback to 2024.11.2 and all works.
2024-11-26 21:48:32.038 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry ********@gmail.com for tuya Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/tuya/__init__.py", line 68, in async_setup_entry await hass.async_add_executor_job(manager.update_device_cache) File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/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.12/site-packages/tuya_sharing/device.py", line 106, in query_devices_by_home return self._query_devices(response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/tuya_sharing/device.py", line 124, in _query_devices self.update_device_specification(device) File "/usr/local/lib/python3.12/site-packages/tuya_sharing/device.py", line 131, in update_device_specification response = self.api.get(f"/v1.1/m/life/{device_id}/specifications") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/tuya_sharing/customerapi.py", line 176, in get return self.__request("GET", path, params, None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/tuya_sharing/customerapi.py", line 121, in __request raise Exception(f"network error:({ret['code']}) {ret['msg']}")
The problem
Hi there,
A few days ago, I installed the latest update 2024.11.3. From there on, all the pain started. My whole Apple Home went wild, all kinds of devices were flapping or completely offline. Matter devices, which I paired first to HomeKit and shared to HA, were no longer usable - they went and stayed offline, no matter if HomeKit or Home Assistant. Today, even all Zigbee devices began to behave strangely. They flapped. The status was different from the real status, etc. etc.
I really have no clue what exactly went wrong. There wasn't any special information in the log. Well, long story short, I had to restore to 2024.11.2, otherwise, my wife would kick me out of the house. ;-) After the restore, everything works again.
For sure, I know this bug report may not be very helpful, at least I wanted to let you know my experience.
Let me know if there is any needed information I can provide.
-- peek
What version of Home Assistant Core has the issue?
core-2024.11.3
What was the last working version of Home Assistant Core?
core-2024.11.2
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Matter (over Apple), ZHA (Sonoff)
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response