Xiaomi Gateway (Aqara) losing setting

Hello

I have 3 gateways and if my WiFi drops then the entities all show as unavailable when it reconnects, even after a reboot of HA and the gateways. I have to manually delete the integration and add them back in which is a pain in the arse. I know it is the WiFi as 1 of them is in the garage and the WiFi didn’t drop there and the entities are all working fine.

Anyone else had this please? This only started after using the gui integration method