Qugate Smart Gateway receive loop error TypeError:'tuple' #5148
Replies: 4 comments 4 replies
|
ChatGPT is probably right about the class of problem here: this looks like an integration-side bug or unsupported response shape, not something you can fix with a normal Home Assistant setting. The failing line expects the poll result to be a mutable dictionary: but your device/protocol path returned a Python tuple instead. That usually means one of these:
I would do this in order:
As a temporary workaround, you can try re-adding the device and selecting the closest hub/gateway profile manually if the integration offers alternatives, but the traceback itself points to code needing to guard or parse this response differently. If this solves it, please mark the comment as the answer so others can find it faster. |
|
Please get some debug logs. full_poll is generally maintained by the integration itself, it is information added to the actual poll data to track when it is in response to a full poll as the data flows through the system. But in your case it seems it is being injected from elsewhere in an unexpected format. |
|
|
I have just downloade the latest Tuya local so that is not the issue "data": { |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am getting this error when Tuya local is trying to access my qugate hub. Please can someone on here provide some guidance to a newby as chat gpt tells me the developer will need to provide a patch for this
Log details (ERROR)
This error originated from a custom integration.
Logger: custom_components.tuya_local.device
Source: custom_components/tuya_local/device.py:418
Integration: Tuya Local (documentation, issues)
First occurred: 7:50:33 AM (6 occurrences)
Last logged: 7:54:35 AM
Qugate Smart Gateway receive loop error TypeError:'tuple' object does not support item assignment
Traceback (most recent call last):
File "/config/custom_components/tuya_local/device.py", line 418, in async_receive
poll["full_poll"] = full_poll
~~~~^^^^^^^^^^^^^
TypeError: 'tuple' object does not support item assignment
All reactions