mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-14 02:24:27 +05:00
fix config migration
This commit is contained in:
@@ -130,7 +130,7 @@ class OptionsFlowHandler(config_entries.OptionsFlow):
|
||||
cfg = dict(self.config_entry.data)
|
||||
cfg.update(user_input)
|
||||
cfg["new_naming"] = new_naming
|
||||
self.config_entry.data = cfg
|
||||
self.hass.config_entries.async_update_entry(entry=self.config_entry, data=cfg)
|
||||
await get_hub(self.hass, cfg)
|
||||
|
||||
if reload:
|
||||
|
||||
Reference in New Issue
Block a user