mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Update fyta async_migrate_entry (#116433)
Update async_migrate_entry __init__.py
This commit is contained in:
parent
fd8287bc15
commit
258e20bfc4
@ -71,8 +71,8 @@ async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) ->
|
||||
return False
|
||||
|
||||
if config_entry.version == 1:
|
||||
new = {**config_entry.data}
|
||||
if config_entry.minor_version < 2:
|
||||
new = {**config_entry.data}
|
||||
fyta = FytaConnector(
|
||||
config_entry.data[CONF_USERNAME], config_entry.data[CONF_PASSWORD]
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user