Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
WillCodeForCats committed Aug 23, 2024
1 parent b114428 commit 41bcf75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/solaredge_modbus_multi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ async def async_remove_config_entry_device(

async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> bool:
"""Migrate old entry."""
_LOGGER.debug("Migrating from version {config_entry.version}")
_LOGGER.debug("Migrating from config version {config_entry.version}")

if config_entry.version > 1:
return False
Expand Down Expand Up @@ -194,7 +194,7 @@ async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) ->
)

_LOGGER.warning(
f"Migrated to version {config_entry.version}.{config_entry.minor_version}"
f"Migrated to config version {config_entry.version}.{config_entry.minor_version}"
)

return True
Expand Down

0 comments on commit 41bcf75

Please sign in to comment.