mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-26 10:17:18 +00:00
Use temperature measurement from car if available, otherwise fetch from openweather API
Adjust tests to match code changes Test Adjust tests to match code changes Fix code formatting
This commit is contained in:
committed by
Florian BEZANNIER
parent
d41eae6fd8
commit
7ffdb74714
+4
-4
@@ -37,10 +37,10 @@ def get_new_test_db():
|
||||
|
||||
|
||||
def record_position():
|
||||
Database.record_position(None, car.vin, 11, latitude, longitude - 0.05, None, date0, 40, None, False)
|
||||
Database.record_position(None, car.vin, 20, latitude, longitude, 32, date1, 35, None, False)
|
||||
Database.record_position(None, car.vin, 30, latitude, longitude, 42, date2, 30, None, False)
|
||||
Database.record_position(None, car.vin, None, latitude, longitude, 42, date2, 30, None, False)
|
||||
Database.record_position(None, car.vin, 11, latitude, longitude - 0.05, None, date0, 40, None, False, None)
|
||||
Database.record_position(None, car.vin, 20, latitude, longitude, 32, date1, 35, None, False, None)
|
||||
Database.record_position(None, car.vin, 30, latitude, longitude, 42, date2, 30, None, False, None)
|
||||
Database.record_position(None, car.vin, None, latitude, longitude, 42, date2, 30, None, False, None)
|
||||
|
||||
|
||||
def record_charging():
|
||||
|
||||
Reference in New Issue
Block a user