Include current version in updater log output (#45022)

This commit is contained in:
Philip Allgaier 2021-01-10 21:37:55 +01:00 committed by GitHub
parent f5b389faa8
commit 4de9f5194f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,11 @@ async def async_setup(hass, config):
"You are on the latest version (%s) of Home Assistant", newest
)
elif StrictVersion(newest) < StrictVersion(current_version):
_LOGGER.debug("Local version is newer than the latest version (%s)", newest)
_LOGGER.debug(
"Local version (%s) is newer than the latest available version (%s)",
current_version,
newest,
)
_LOGGER.debug("Update available: %s", update_available)