Migrate yale_smart_alarm to use async_update_entry to alter config entries (#110401)

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

View File

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