Edit log message when local version is newer

This commit is contained in:
Tobias Haase
2019-07-31 07:04:30 +02:00
parent 008b1459cc
commit 9efcbb7f58

View File

@@ -104,9 +104,8 @@ async def async_setup(hass, config):
_LOGGER.info(
"You are on the latest version (%s) of Home Assistant", newest)
elif StrictVersion(newest) < StrictVersion(current_version):
_LOGGER.warning(
"You are before the latest version (%s) of Home Assistant",
newest)
_LOGGER.debug(
"Local version is newer than the latest version (%s)", newest)
hass.states.async_set(
ENTITY_ID, 'on' if update_available else 'off', {