mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 03:03:17 +01:00
Fix typo in NINA config flow (#160523)
This commit is contained in:
@@ -256,7 +256,7 @@ class OptionsFlowHandler(OptionsFlowWithReload):
|
||||
if slot_id > user_input[CONF_MESSAGE_SLOTS]
|
||||
]
|
||||
|
||||
removed_entites_area = [
|
||||
removed_entities_area = [
|
||||
f"{cfg_region}-{slot_id}"
|
||||
for slot_id in range(1, self.data[CONF_MESSAGE_SLOTS] + 1)
|
||||
for cfg_region in self.data[CONF_REGIONS]
|
||||
@@ -265,7 +265,7 @@ class OptionsFlowHandler(OptionsFlowWithReload):
|
||||
|
||||
for entry in entries:
|
||||
for entity_uid in list(
|
||||
set(removed_entities_slots + removed_entites_area)
|
||||
set(removed_entities_slots + removed_entities_area)
|
||||
):
|
||||
if entry.unique_id == entity_uid:
|
||||
entity_registry.async_remove(entry.entity_id)
|
||||
|
||||
Reference in New Issue
Block a user