change logger to debug for config entry migration (#1901)

This commit is contained in:
G Johansson 2023-09-07 20:20:59 +02:00 committed by GitHub
parent b598d9d66e
commit a350b7d818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -231,7 +231,7 @@ async def async_migrate_entry(hass, config_entry: ConfigEntry):
config_entry.version = 2
hass.config_entries.async_update_entry(config_entry, data=new)
_LOGGER.info("Migration to version %s successful", config_entry.version)
_LOGGER.debug("Migration to version %s successful", config_entry.version)
return True
```
@ -251,7 +251,7 @@ async def async_migrate_entry(hass, config_entry: ConfigEntry):
# saved when async_migrate_entry returns True
config_entry.version = 2
_LOGGER.info("Migration to version %s successful", config_entry.version)
_LOGGER.debug("Migration to version %s successful", config_entry.version)
return True
```