Aqara Hub M3 changed from LAN to WLAN

Hello,

I changed my Aqara Hub M3 from LAN to WLAN to extend the signal more. I had to reenter a new matter pairing code to get it to appear again. The problem now is that the devices are all showing their entities twice (see pic). Any ideas how I can get these unavailable entites to stop showing?

Thanks