Styrbar devices showing 255% battery

I have a couple of IKEA Styrbar remotes connected to HA via ZigBee. Generally they have worked great for the last year. Occasionally I need to rejoin them to the network (go to a nearby ZigBee device in HA and click … then Add devices via this device, then click the reset button inside the Styrbar 4 times quickly so the light flashes - it gets discovered and recognised as the same device as before).

Anyway, this time I noticed that when I did this the battery is reported as 255% and then I looked in the history and leading up to the device needing reconnection it was reporting 200%.

It seems more likely the battery is at 55%.

Is this an issue with the device reporting the charge wrong, or Home Assistant statistics?

1 Like

Bug fixed in upcoming releases/versions → Correctly report unavailable battery for value 255 of percentage by elupus · Pull Request #104566 · home-assistant/core · GitHub