From bca08f8027149b9868e4f42448bc39968c1704fb Mon Sep 17 00:00:00 2001 From: rleidner <89418596+rleidner@users.noreply.github.com> Date: Thu, 10 Oct 2024 11:12:51 +0200 Subject: [PATCH] Update packages/modules/vehicles/ovms/api.py Co-authored-by: LKuemmel <76958050+LKuemmel@users.noreply.github.com> --- packages/modules/vehicles/ovms/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/modules/vehicles/ovms/api.py b/packages/modules/vehicles/ovms/api.py index 191672e9b..989507ff9 100755 --- a/packages/modules/vehicles/ovms/api.py +++ b/packages/modules/vehicles/ovms/api.py @@ -176,7 +176,7 @@ async def _fetch_soc(self, # sync function -def fetch_soc(conf: OVMS, vehicle: int) -> Union[int, float, str, float, float]: +def fetch_soc(conf: OVMS, vehicle: int) -> Union[int, float, str]: # prepare and call async method loop = asyncio.new_event_loop()