2.2.5.120 error in notification app

I have a notification app set up to push a warning to my phone on any battery < 50% report. The notification worked fine (battery reports were sketchy, but that's an issue with the devices, not the app). In 2.2.4.158 the app worked smoothly. I now see an error in 2.2.5.120:

2021-01-27 11:45:38.425 am errorjava.lang.NumberFormatException: For input string: "74.5" on line 403 (batteryHandler)

I have a few Sonoff Zigbee motion sensors using Markus' drivers, which unfortunately report battery level with tenth-percent precision, instead of integer values. Seems like the new batteryHandler code in 2.2.5 isn't as forgiving, and is throwing an error.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.