It is meant to connect with internet via the BLE Gateway (Bluetooth Low Energy) and yeelight bedside lamp or the yeelight ceiling lamp are acting as such gateways.
Asking because I couldn’t find any existing Components that would cover that.
On domoticz forum here I found that the colleagues have experimented with that and created sth like https://github.com/pFenners/mijia-sensor-domoticz but I have doubt if this is actually working and does it mean that you have to unpair it from Mi Home and pair with some BT device instead ?