mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Update prusalink to set ConfigEntry version with async_update_entry (#110196)
This commit is contained in:
parent
118712d38d
commit
991bef7ea0
@ -113,9 +113,9 @@ async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) ->
|
||||
new_data[CONF_PASSWORD] = password
|
||||
|
||||
ir.async_delete_issue(hass, DOMAIN, "firmware_5_1_required")
|
||||
config_entry.minor_version = 2
|
||||
|
||||
hass.config_entries.async_update_entry(config_entry, data=new_data)
|
||||
hass.config_entries.async_update_entry(
|
||||
config_entry, data=new_data, minor_version=2
|
||||
)
|
||||
|
||||
return True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user