mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-13 12:26:29 +00:00
change logger to debug for config entry migration (#1901)
This commit is contained in:
parent
b598d9d66e
commit
a350b7d818
@ -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
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user