Zha component is loaded, zha.permit is started, device joined the network but error

I use hass 0.71.0 and zha component, Elelabs ZigBee RPi Shield and some xiaomi devices. Zha component is loaded, zha.permit is started, device joined the network but it not inserted into HA (the zigbee.db is empty). I have temporarily resolved issuse as follows:

Downgrade Home Assistant to version 0.69.1

Delete zigbee.db

Restart HA for setup component zha again.

Call zha.permit service and pair xiaomi device again

Device joined the network but error: Message on unknown endpoint 1 (The zigbee.db looks as follows after the device has been joined. There is only an entry in the devices table since it does not respond to the endpoint discovery)

Manual create the endpoint entry and entries for the output clusters

INSERT INTO “endpoints” VALUES(‘xx:xx:xx:xx:xx:xx:xx:xx’,1,260,0,1);

INSERT INTO “output_clusters” VALUES(‘xx:xx:xx:xx:xx:xx:xx:xx’,1,4);

INSERT INTO “output_clusters” VALUES(‘xx:xx:xx:xx:xx:xx:xx:xx’,1,5);

INSERT INTO “output_clusters” VALUES(‘xx:xx:xx:xx:xx:xx:xx:xx’,1,6);

Restart HA and it working fine

But after a few hours not updated status, the device seems to have left the network (still on HA but not responding)

I’ve read about zha_new but I do not know how to use it? (copy all the files and folders in ha-zha-new/custom_components/ into /home/homeassistant/.homeassistant/custom_components ???)