From 970da9319239b0345dd6b639c3721eabef2e825b Mon Sep 17 00:00:00 2001 From: BluemediaGER Date: Sat, 20 Apr 2024 17:46:46 +0200 Subject: [PATCH] Add SecurityEventNotification handler --- app/ocpp_proto/chargepoint.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/ocpp_proto/chargepoint.py b/app/ocpp_proto/chargepoint.py index 0f679df..bb9042d 100644 --- a/app/ocpp_proto/chargepoint.py +++ b/app/ocpp_proto/chargepoint.py @@ -237,3 +237,7 @@ class ChargePoint(cp): @on(Action.MeterValues) async def on_meter_values(self, **kwargs): return call_result.MeterValuesPayload() + + @on(Action.SecurityEventNotification) + async def on_security_event_notification(self, **kwargs): + return call_result.SecurityEventNotificationPayload()