Platform localtuya/mobile_app does not generate unique IDs

I’m getting below error after HA restart reg. to local tuya integration and in the consequence pointed entity is nor active. In total I have around 20 tuya devices and they going offline randomly after HA restarts.

I used originally local tuya 3.2.2 but after some readings moved to 3.1.0 but I’m still getting this errors.

Any idea what is wrong here?

Logger: homeassistant.components.light
Source: helpers/entity_platform.py:489
Integration: Light (documentation, issues)
First occurred: 2:10:34 PM (1 occurrences)
Last logged: 2:10:34 PM

Platform localtuya does not generate unique IDs. ID local_bf42e3572a88009e84ez5i_20 already exists - ignoring light.living_l

EDIT:
I’m getting similar error for the other integration:

Logger: homeassistant.components.device_tracker
Source: helpers/entity_platform.py:489
Integration: Device tracker (documentation, issues)
First occurred: 3:30:50 PM (1 occurrences)
Last logged: 3:30:50 PM

Platform mobile_app does not generate unique IDs. ID 0A8355D2-1E9D-4542-8B55-43D4B1B9F869 already exists - ignoring device_tracker.iphone_adam

For local tuya I saw also bellow error:

Logger: custom_components.localtuya.common
Source: custom_components/localtuya/pytuya/__init__.py:626
Integration: LocalTuya (documentation, issues)
First occurred: 3:42:52 PM (1 occurrences)
Last logged: 3:42:52 PM

[713...52a] Connect to 192.168.1.200 failed
Traceback (most recent call last):
  File "/config/custom_components/localtuya/common.py", line 146, in _make_connection
    self._interface = await pytuya.connect(
  File "/config/custom_components/localtuya/pytuya/__init__.py", line 626, in connect
    _, protocol = await loop.create_connection(
  File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1025, in create_connection
    raise exceptions[0]
  File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1010, in create_connection
    sock = await self._connect_sock(
  File "/usr/local/lib/python3.8/asyncio/base_events.py", line 924, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 496, in sock_connect
    return await fut
  File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 528, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.1.200', 6668)