diff --git a/packages/modules/vehicles/smarthello/api.py b/packages/modules/vehicles/smarthello/api.py index fde9d2b54a..7dc3512a08 100644 --- a/packages/modules/vehicles/smarthello/api.py +++ b/packages/modules/vehicles/smarthello/api.py @@ -358,6 +358,6 @@ def fetch_soc(config: SmartHelloConfiguration, soc = float(data["additionalVehicleStatus"]["electricVehicleStatus"]["chargeLevel"]) autonomy = float(data["additionalVehicleStatus"]["electricVehicleStatus"]["distanceToEmptyOnBatteryOnly"]) - soctimestamp = float(data["updateTime"]) + soctimestamp = float(data["updateTime"])/1000 return CarState(soc=soc, range=autonomy, soc_timestamp=soctimestamp)