Got some more work done on this component today. Moved the battery level and a few other attributes into properties on the sock measurement sensors.
Sock off is a flag for when the sock cannot get a good measurement and they assume it has fallen off.
It appears that battery level shows 120 when fully charged, but immediately drops below 100 when taken off the charger. I capped the battery level at 100 since a dedicated attribute is available for charge status.
Measurements are hidden when they are not available. Measurements are hidden if the sock is charging, if the base is off, or if motion is detected. This mostly mimics how the Owlet app behaves.
I’m pretty confident with how the component is behaving. I will be doing some more testing and will start working on documentation in preparation for a PR later in the week.
Currently, I have not identified a way to tell if the base station has lost wifi connectivity. However, the Owlet app is able to do this. Could be that the library doesn’t support it yet. Also, the library doesn’t have any methods for enabling the base station which can also be done from the app. These can be future enhancements unless somebody else has an idea on how to implement.