Skip to content

Commit

Permalink
Use v2 of the cockpit endpoint.
Browse files Browse the repository at this point in the history
Resolves #50.
  • Loading branch information
jamesremuscat committed Apr 24, 2020
1 parent 14f7b5a commit 7597afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyze/api/kamereon.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def charge_mode(self):
return raw_mode

def mileage(self):
return self._get('cockpit')
return self._get('cockpit', 2)

# Not (currently) implemented server-side
def lock_status(self):
Expand Down

0 comments on commit 7597afb

Please sign in to comment.