rospogrigio / localtuya

local handling for Tuya devices
GNU General Public License v3.0
2.83k stars 544 forks source link

Issue adding climat device MOES BHT-002 #910

Open phenixar opened 2 years ago

phenixar commented 2 years ago

Hi,

I try to add my device BHT-002 from moes manufacturor in Home Assistant, but failed.

I try many local tuya project, some other let me add it, but the main project, this one, I can't add it from many month. Could you please make it possible, I can help if you need test.

image image image

============================================== Logger: custom_components.localtuya.pytuya Source: custom_components/localtuya/pytuya/init.py:247 Integration: LocalTuya integration (documentation, issues) First occurred: 10:47:22 (1 occurrences) Last logged: 10:47:22

[306...9dc] Failed to get status: Traceback (most recent call last): File "/usr/local/lib/python3.9/asyncio/locks.py", line 417, 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.9/asyncio/tasks.py", line 490, 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 "/home/homeassistant/homeassistant/custom_components/localtuya/pytuya/init.py", line 539, in detect_available_dps data = await self.status() File "/home/homeassistant/homeassistant/custom_components/localtuya/pytuya/init.py", line 481, in status status = await self.exchange(STATUS) File "/home/homeassistant/homeassistant/custom_components/localtuya/pytuya/init.py", line 460, in exchange msg = await self.dispatcher.wait_for(seqno) File "/home/homeassistant/homeassistant/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.9/asyncio/tasks.py", line 492, in wait_for raise exceptions.TimeoutError() from exc asyncio.exceptions.TimeoutError

Thanks for your help. Best Regards

prbtt commented 2 years ago

This integration seems to be broken after HA updated to 2022.6