The motion sensor is designed to clip together securely and should not come apart. If this is the case Lilli can replace a broken sensor.
Please contact support@intelligentlilli.com to arrange for a replacement to be sent out. Note, that there may be a charge for replacing a damaged sensor.