Remove update on add signalling in Axis integration (#41956)
Minor clean up of the integration
This commit is contained in:
1 parent
cb60905415
commit
028689d6bd
5 files changed
+12
-4
No files matched your search
@@ -49,7 +49,7 @@ async def async_migrate_entry(hass, config_entry):
|
||||
"""Migrate old entry."""
|
||||
_LOGGER.debug("Migrating from version %s", config_entry.version)
|
||||
|
||||
# Flatten configuration but keep old data if user rollbacks HASS
|
||||
# Flatten configuration but keep old data if user rollbacks HASS prior to 0.106
|
||||
if config_entry.version == 1:
|
||||
config_entry.data = {**config_entry.data, **config_entry.data[CONF_DEVICE]}
|
||||
|
||||
|
||||
Reference in new issue
Block a user