Skip to content

Commit

Permalink
Update packages/modules/vehicles/ovms/api.py
Browse files Browse the repository at this point in the history
Co-authored-by: LKuemmel <[email protected]>
  • Loading branch information
rleidner and LKuemmel authored Oct 10, 2024
1 parent fdbf775 commit bca08f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/modules/vehicles/ovms/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bca08f8

Please sign in to comment.