Switch connection drops frequently

Hi, I have an ihost and several sensors

I recently purchased a zbmini-l2 switch for a room and installed it correctly (the switch is very close to the ihost device)

After the switch was paired with the ihost device, the switch stopped working when I turned it on and off several times.

When I quickly turn it on and off using the external button a few times, the connection is lost. The zbmini-l2 switch doesn’t show up on ihost and then I have to remove the switch from the wall and pair it again every time. I tried this a few times with a small LED lamp and a chandelier consisting of several LED lamps. After 5 or 10 on and off attempts, the connection was definitely lost.

Why is this happening? should I return the device I bought? any help would be appreciated.