Add MeterValues handler

This commit is contained in:
Oliver Traber 2024-04-20 17:35:52 +02:00
parent fda92b723b
commit 791d0834b9

View file

@ -145,6 +145,10 @@ class ChargePoint(cp):
id_token_info = await self.__get_id_token_info(id_token) id_token_info = await self.__get_id_token_info(id_token)
return call_result.AuthorizePayload(id_token_info) return call_result.AuthorizePayload(id_token_info)
@on(Action.MeterValues)
async def on_meter_values(self, **kwargs):
return call_result.MeterValuesPayload()
@on(Action.TransactionEvent) @on(Action.TransactionEvent)
async def on_transaction_event( async def on_transaction_event(
self, self,