Migrate verisure to use async_update_entry to alter config entries (#110400)

This commit is contained in:
J. Nick Koston 2024-02-12 14:24:32 -06:00 committed by GitHub
parent 7d1b9dce9d
commit db9c08b2e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,7 +108,7 @@ async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
hass.config_entries.async_update_entry(entry, options=new_options)
entry.version = 2
hass.config_entries.async_update_entry(entry, version=2)
LOGGER.info("Migration to version %s successful", entry.version)