Fix dbus timeout on connection (#3258)

This commit is contained in:
Pascal Vizeli 2021-10-25 14:19:09 +02:00 committed by GitHub
parent 3d814f3c44
commit 4c9cbb112e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ class DBus:
raise DBusParseError(
f"Can't parse introspect data: {err}", _LOGGER.error
) from err
except EOFError:
except (EOFError, asyncio.TimeoutError):
_LOGGER.warning(
"Busy system at %s - %s", self.bus_name, self.object_path
)