Aqara wireless switches fail to pair

Aqara/Xiaomi and Tuya devices are known to have issues pairing due to not following standards. See:

https://www.home-assistant.io/integrations/zha#best-practices-to-avoid-pairingconnection-difficulties

Pairing some Xiaomi/Aqara is a lottery and it is not uncommon to have to try 30 times over 30 minutes.

Regardless of Zigbee Coordinator adapter type or Zigbee implementation recommend follow these tips:

https://community.home-assistant.io/t/guide-for-zigbee-interference-avoidance-and-network-range-coverage-optimization/515752

In short; update Zigbee Coordinator firmware + connect it via a USB extension cable to a USB 2.0 port to get away from interference sources, add more Zigbee Router devices, then try pair again and again.