jdhorne / pycarwings2

Apache License 2.0
66 stars 66 forks source link

Soc if possible #22

Closed rduivenvoorde closed 6 years ago

rduivenvoorde commented 6 years ago

See also: https://github.com/jdhorne/pycarwings2/issues/13

Leaf 2016 also has SOC (state_of_charge) in it's data. This seems a more accurate battery_percentage, as it shows the exact same percentage as you seen on the dashboard

Checking IF SOC is available in records, and setting state_of_charge to None if not

jdhorne commented 6 years ago

Thank you!