Local tuya Door 7 Window Sensor

hi,
I cant add my door sensors. They are well known at smartlife and in the tuya cloud. After entering the keys i get:

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: custom_components.localtuya.config_flow
Source: custom_components/localtuya/pytuya/**init**.py:704
Integration: LocalTuya integration (documentation, issues)
First occurred: 02:33:39 (6 occurrences)
Last logged: 02:52:36

Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/localtuya/config_flow.py", line 580, in async_step_configure_device
self.dps_strings = await validate_input(self.hass, user_input)
File "/config/custom_components/localtuya/config_flow.py", line 245, in validate_input
interface = await pytuya.connect(
File "/config/custom_components/localtuya/pytuya/**init**.py", line 704, in connect
_, protocol = await loop.create_connection(
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1064, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1049, in create_connection
sock = await self._connect_sock(
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 960, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.10/asyncio/selector_events.py", line 500, in sock_connect
return await fut
File "/usr/local/lib/python3.10/asyncio/selector_events.py", line 535, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
OSError: [Errno 113] Connect call failed ('10.0.0.214', 6668)

Any idea what that cood be ? All other plugs and lights work fine.

Because battery operated sleeping devices are not supported by localtuya

thx … if i move the magnet permanent during activation, i can add the device. Now I get often status unavailable, but if the status change the signal send the right value