I’m really reaching the end of my tether with my Tuya devices, and right now I’m thinking of flinging them all out in exchange for something else
I have tried both the cloud integration and the local integration and both seem to have their problems…
With the standard cloud version, I seem to get no reporting of state changes (which makes toggling somewhat tricky) - seems I’m not alone
With the local version, I’m having issues actually adding devices… some have added fine, others add fine then stop working, some receive an “unknown error” which when checking the logs is related to Asyncio.py (i think - log below - also seems others have this issue on github)
I have managed to add some devices after a restart once receiving this error but not others…
Given how prolific Tuya devices are, I figure there must be some people around here who have managed to get things working stably with Tuya?! If so, can someone advise how!
Thanks
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 533, in async_step_configure_device
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()
File "/config/custom_components/localtuya/pytuya/__init__.py", line 539, in detect_available_dps
data = await self.status()
File "/config/custom_components/localtuya/pytuya/__init__.py", line 481, in status
status = await self.exchange(STATUS)
File "/config/custom_components/localtuya/pytuya/__init__.py", line 476, in exchange
return await self.exchange(command, dps)
File "/config/custom_components/localtuya/pytuya/__init__.py", line 460, in exchange
msg = await self.dispatcher.wait_for(seqno)
File "/config/custom_components/localtuya/pytuya/__init__.py", line 247, 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