mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-12 17:44:28 +05:00
fix pop
This commit is contained in:
@@ -133,7 +133,7 @@ class OptionsFlowHandler(config_entries.OptionsFlow):
|
||||
for x in PLATFORMS:
|
||||
cfg.pop(x, None)
|
||||
for x in REMOVE_CONFIG:
|
||||
cfg.pop(x, default=None)
|
||||
cfg.pop(x, None)
|
||||
cfg.update(new)
|
||||
|
||||
cfg['new_naming'] = new_naming
|
||||
|
||||
Reference in New Issue
Block a user