yp87/leaf2mqtt

reported total capacity of the battery

Opened this issue · 1 comments

Describe the bug
Reported total capacity of the battery is not correct.
At my 40kWh leaf it is reported as 240.00, I would assume this is in Kwh.. but also in Ah it is way off...

LEAF_TYPE
Nissan Leaf 40kWh "Zero-edition"

Expected behavior
To see the correct value..

Curious. My 24kWh reports a total capacity of "12". Which I've assumed is meant to match the 12-part charge indicator on the app. I've come to accept that nothing coming out of these Nissan APIs makes much sense.