Oh, you have problems with PAIRING the switch? That has nothing to do with the driver, but can be tricky, some tips:
try again
bring it closer to the hub (yeah, I know, it's a wired switch... be creative!)
push the button on the switch in every few seconds while joining to keep the device awake (the "no neutral" versions of Aqara switches are end devices, so they're quite sleepy),