|
发表于 2023-4-16 12:49:41
|
显示全部楼层
Logger: custom_components.localtuya.config_flow
Source: custom_components/localtuya/pytuya/__init__.py:273
Integration: LocalTuya integration (documentation, issues)
First occurred: 12:38:22 (1 occurrences)
Last logged: 12:38:22
Unexpected exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/locks.py", line 390, in acquire
await fut
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
return fut.result()
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 406, 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 242, in validate_input
detected_dps = await interface.detect_available_dps(data[CONF_DEVICE_ID])
File "/config/custom_components/localtuya/pytuya/__init__.py", line 610, in detect_available_dps
status = await self.status(cid)
File "/config/custom_components/localtuya/pytuya/__init__.py", line 528, in status
status = await self.exchange(ACTION_STATUS, cid=cid)
File "/config/custom_components/localtuya/pytuya/__init__.py", line 497, in exchange
msg = await self.dispatcher.wait_for(seqno)
File "/config/custom_components/localtuya/pytuya/__init__.py", line 273, in wait_for
await asyncio.wait_for(self.listeners[seqno].acquire(), timeout=timeout)
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
这是日志 |
|