Remove update on add signalling in Axis integration (#41956)

Minor clean up of the integration
This commit is contained in:
Robert Svensson authored and GitHub committed 2020-10-16 11:54:48 -05:00
1 parent cb60905415
commit 028689d6bd
5 files changed
+12 -4

No files matched your search

+1 -1
View File
@@ -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]}