mileperhour / localtuya-homeassistant

local handling for Tuya devices
GNU General Public License v3.0
155 stars 703 forks source link

i can't match #31

Open Gussiccc opened 2 years ago

Gussiccc commented 2 years ago

Hello friends I am trying to pair this switch:

https://es.aliexpress.com/item/1005004091384239.html?spm=a2g0o.productlist.0.0.1b8f170aWw0n4d&algo_pvid=87b7eae4-4699-4767-8a02-90236d13b4fb&aem_p4p_detail=202204180834421594051344507040030737977&algo_exp_id=87b7eae4-4699-4767-8a02-90236d13b4fb-15&pdp_ext_f=%7B%22sku_id%22%3A%2212000028003274741%22%7D&pdp_pi=-1%3B11.63%3B-1%3B-1%40salePrice%3BEUR%3Bsearch-mainSearch

I have other devices without problems but this one is impossible it won't let me, I leave here the log of yours

Logger: custom_components.localtuya.pytuya Source: custom_components/localtuya/pytuya/init.py:247 Integration: LocalTuya integration (documentation, issues) First occurred: 16:37:11 (6 occurrences) Last logged: 17:26:18

[bf8...ben] Failed to get status: [be3...d62] Failed to get status: Traceback (most recent call last): File "/usr/local/lib/python3.9/asyncio/locks.py", line 413, 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 492, in wait_for 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/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 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.9/asyncio/tasks.py", line 494, in wait_for raise exceptions.TimeoutError() from exc asyncio.exceptions.TimeoutError