Assuming you mean MiJia (Xiaomi), I found this...
Xiaomi & Aqara Devices - Pairing & Keeping them connected