Add ability to reset chargepoints

This commit is contained in:
Oliver Traber 2024-04-14 22:56:51 +02:00
parent 7780f247fb
commit 38d3064652
Signed by: Bluemedia
GPG key ID: C0674B105057136C
3 changed files with 35 additions and 2 deletions

View file

@ -24,7 +24,7 @@ async def call(
) -> Coroutine[Any, Any, Any | None]:
try:
cp = __active_connections[chargepoint_id]
return cp.call(payload, suppress, unique_id)
return await cp.call(payload, suppress, unique_id)
except KeyError as e:
raise e