Compare commits
No commits in common. "dfa36b62947c37f25d866a741ff40f7a68c87453" and "fda92b723b666c40dc701a552619172fb24453e1" have entirely different histories.
dfa36b6294
...
fda92b723b
|
@ -145,10 +145,6 @@ class ChargePoint(cp):
|
|||
id_token_info = await self.__get_id_token_info(id_token)
|
||||
return call_result.AuthorizePayload(id_token_info)
|
||||
|
||||
@on(Action.MeterValues)
|
||||
async def on_meter_values(self, **kwargs):
|
||||
return call_result.MeterValuesPayload()
|
||||
|
||||
@on(Action.TransactionEvent)
|
||||
async def on_transaction_event(
|
||||
self,
|
||||
|
|
|
@ -12,13 +12,13 @@ class WebSocketWrapper():
|
|||
async def recv(self) -> str:
|
||||
try:
|
||||
text = await self._websocket.receive_text()
|
||||
logger.info("Message received: %s", text)
|
||||
logger.info("Message received: {}", text)
|
||||
return text
|
||||
except WebSocketDisconnect as e:
|
||||
raise ConnectionClosed(e.code, 'WebSocketWrapper')
|
||||
|
||||
async def send(self, msg: str) -> None:
|
||||
logger.info("Message sent: %s", msg)
|
||||
logger.info("Message sent: {}", msg)
|
||||
await self._websocket.send_text(msg)
|
||||
|
||||
async def close(self, code: int, reason: str) -> None:
|
||||
|
|
Loading…
Reference in a new issue