Log a debug message on unknown error codes

This commit is contained in:
Teemu Rytilahti 2025-01-03 20:06:11 +01:00
parent 524696dd87
commit b4ab4d5269

View File

@ -154,6 +154,10 @@ class Vacuum(SmartModule):
try:
self._error_code = ErrorCode(error)
except ValueError:
_LOGGER.debug(
"Unknown error code, please create an issue describing the error: %s",
error,
)
self._error_code = ErrorCode.Unknown
def query(self) -> dict: