This commit is contained in:
Andrey
2021-03-04 21:28:01 +03:00
parent 81d85ba1ed
commit a1ae4e294b
2 changed files with 1 additions and 40 deletions

View File

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