diff --git a/custom_components/localtuya/pytuya/__init__.py b/custom_components/localtuya/pytuya/__init__.py index fd69e7a38..bcc8bbed5 100644 --- a/custom_components/localtuya/pytuya/__init__.py +++ b/custom_components/localtuya/pytuya/__init__.py @@ -953,7 +953,7 @@ def _decode_payload(self, payload): json_payload = json.loads(payload) except Exception as ex: raise DecodeError( - "could not decrypt data: wrong local_key? (exception %s)", ex + "could not decrypt data: wrong local_key? (exception: %s)" % ex ) # json_payload = self.error_json(ERR_JSON, payload)