Smart Wall Switch M5 randomly disconnects

Unfortunately, I have a same problem. I have mixed the old and new Sonoff sensors all around the house, but only the new type sensors/switches with the LCD display, disconnects from the wifi. The rest of them still online. Very annoying