White switch disconnect from HomeKit on a weekly basis

Hello, I have a white switch connected to a HomeKit, which is linked to a module in my ceiling fan to control both the lights in the fan. Weekly or almost every other week either the white switch or the module loose his connection to my automation. Require me to do a full power reset on both modules. The switch is running version 1.0.5 not sure if there’s connection issues with that firmware. I’ve had to completely reset, delete from HomeKit and reinstall twice. My Wi-Fi AP is in the same room as these two devices.

Any help would be appreciated

Update: not sure what has happened, but I think the switch reset or something since it was listed with different names and all of my automation had it completely removed. After renaming it and fan/light module, all seems to be working again. Let’s see if this happens again.