Closed RogerSelwyn closed 3 years ago
Default the values, otherwise 'None' gets passed to the calculation later on and the battery % is returned as unknown.
I also note that in surepy the voltages are 1.6 and 1.2, whilst in sureha the voltages are 1.6 and 1.25. Not sure if that is intentional.
Hey, thanks! I just pushed a solution for this issue but I think I like yours more 😂 I will have another look tomorrow, too tired now 🥱
Default the values, otherwise 'None' gets passed to the calculation later on and the battery % is returned as unknown.
I also note that in surepy the voltages are 1.6 and 1.2, whilst in sureha the voltages are 1.6 and 1.25. Not sure if that is intentional.