2023-08-15 00:55:41.124 ERROR (MainThread) [custom_components.localtuya.pytuya] [ebf...m0e] Failed to get status for cid xxxx:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 490, in wait_for
return fut.result()
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/locks.py", line 387, in acquire
await fut
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/localtuya/pytuya/__init__.py", line 684, in detect_available_dps
status = await self.status(cid)
^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/localtuya/pytuya/__init__.py", line 598, in status
status = await self.exchange(ACTION_STATUS, cid=cid)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/localtuya/pytuya/__init__.py", line 563, in exchange
msg = await self.dispatcher.wait_for(seqno)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/localtuya/pytuya/__init__.py", line 325, in wait_for
await asyncio.wait_for(self.listeners[seqno].acquire(), timeout=timeout)
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 492, in wait_for
raise exceptions.TimeoutError() from exc
TimeoutError
2023-08-15 00:55:41.153 DEBUG (MainThread) [custom_components.localtuya.pytuya] [ebf...m0e] Closing connection
2023-08-15 00:55:41.154 ERROR (MainThread) [custom_components.localtuya.config_flow] Unexpected exception
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 490, in wait_for
return fut.result()
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/locks.py", line 387, in acquire
await fut
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/localtuya/config_flow.py", line 450, in async_step_basic_sub_device_info
self.dps_strings = await validate_input(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/localtuya/config_flow.py", line 282, in validate_input
detected_dps = await interface.detect_available_dps(data[CONF_DEVICE_ID])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/localtuya/pytuya/__init__.py", line 684, in detect_available_dps
status = await self.status(cid)
^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/localtuya/pytuya/__init__.py", line 598, in status
status = await self.exchange(ACTION_STATUS, cid=cid)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/localtuya/pytuya/__init__.py", line 563, in exchange
msg = await self.dispatcher.wait_for(seqno)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/localtuya/pytuya/__init__.py", line 325, in wait_for
await asyncio.wait_for(self.listeners[seqno].acquire(), timeout=timeout)
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 492, in wait_for
raise exceptions.TimeoutError() from exc
TimeoutError