fix config migration

This commit is contained in:
d.dmitriev
2025-02-16 15:14:33 +05:00
parent ca0f132434
commit 73ee6c3397
2 changed files with 4 additions and 7 deletions

View File

@@ -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: