feat: add energy efficiency & custom long trips min dist & fix last postition

This commit is contained in:
Florian Bezannier
2022-04-19 21:55:12 +02:00
parent 9833a0ede4
commit d998b72c42
6 changed files with 73 additions and 48 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ class TestUnit(unittest.TestCase):
'end_level': 85,
'co2': co2,
'kw': 20.7,
'price': 3.84,
'price': 4.29,
'charging_mode': 'slow'}])
assert get_figures(car)
row = {"start_at": date0.strftime('%Y-%m-%dT%H:%M:%S.000Z'),