Withings sleep monitor. Is anyone still working on an integration

Hello, I hope you can help me, can anyone tell me how to make a sensor that tells me my total sleep hours. Thank you!