diff --git a/ocpp/charge_point.py b/ocpp/charge_point.py index e9890ffca..30a9c2338 100644 --- a/ocpp/charge_point.py +++ b/ocpp/charge_point.py @@ -393,6 +393,9 @@ async def call(self, payload, suppress=True, unique_id=None): unique_id=unique_id, ) + if response is None and suppress: + return + snake_case_payload = camel_to_snake_case(response.payload) # Create the correct Payload instance based on the received payload. If # this method is called with a call.BootNotificationPayload, then it