Skip to content

Commit afea571

Browse files
authored
Enhance migration logging for home_connect (home-assistant#158027)
1 parent e4aadd6 commit afea571

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

homeassistant/components/home_connect/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ async def async_migrate_entry(
111111
hass: HomeAssistant, entry: HomeConnectConfigEntry
112112
) -> bool:
113113
"""Migrate old entry."""
114-
_LOGGER.debug("Migrating from version %s", entry.version)
114+
_LOGGER.debug("Migrating from version %s.%s", entry.version, entry.minor_version)
115115

116116
if entry.version == 1:
117117
match entry.minor_version:
@@ -147,5 +147,7 @@ def update_unique_id(
147147
)["sub"],
148148
)
149149

150-
_LOGGER.debug("Migration to version %s successful", entry.version)
150+
_LOGGER.debug(
151+
"Migration to version %s.%s successful", entry.version, entry.minor_version
152+
)
151153
return True

0 commit comments

Comments
 (0)