mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +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
|
new_data[CONF_PASSWORD] = password
|
||||||
|
|
||||||
ir.async_delete_issue(hass, DOMAIN, "firmware_5_1_required")
|
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, minor_version=2
|
||||||
hass.config_entries.async_update_entry(config_entry, data=new_data)
|
)
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user