ryanbdclark / owlet

Owlet HA integration
Apache License 2.0
27 stars 3 forks source link

Battery Percentage Bug #2

Open akeslo opened 1 year ago

akeslo commented 1 year ago

Love this integration, thank you!

I noticed a small bug and I'm not sure if it's coming from the integration or the API itself. When you put the dream sock on the charger, there is a split second where the battery percentage shoots up to 100%. On the next query, the percentage drops back to the correct number. This happens every time it's placed on the charger.

MacMini-ScreenShot-2023-08-10
ryanbdclark commented 1 year ago

Love this integration, thank you!

I noticed a small bug and I'm not sure if it's coming from the integration or the API itself. When you put the dream sock on the charger, there is a split second where the battery percentage shoots up to 100%. On the next query, the percentage drops back to the correct number. This happens every time it's placed on the charger.

MacMini-ScreenShot-2023-08-10

I suspect it's API related although mine doesn't do that, see below. I'll have a look and see if I can replicate, if not then I'll see if I can do anything in the integration to ignore these spikes

image