diff --git a/components/i_feed/vehicle.py b/components/i_feed/vehicle.py index 0a084d4..0e92f28 100644 --- a/components/i_feed/vehicle.py +++ b/components/i_feed/vehicle.py @@ -158,7 +158,7 @@ class Vehicle: self.driving = True while self.driving: self.check_reset() - self.external_call() + self.send_status_update() time.sleep(UPDATE_INTERVAL) def stop_driving(self): @@ -182,7 +182,7 @@ class Vehicle: self.nce = False @circuit(failure_threshold=10, expected_exception=ConnectionError) - def external_call(self): + def send_status_update(self): # TODO inform the message broker about the current status print(v1.driven_kms, '\t', v1.daf)