mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Address late review of Co2 signal (#53232)
This commit is contained in:
parent
1fe2d0f9c8
commit
2b9b346a28
@ -114,9 +114,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||||||
else:
|
else:
|
||||||
new_entry_type = TYPE_USE_HOME
|
new_entry_type = TYPE_USE_HOME
|
||||||
|
|
||||||
for entry in self._async_current_entries(include_ignore=True):
|
for entry in self._async_current_entries(include_ignore=False):
|
||||||
if entry.source == config_entries.SOURCE_IGNORE:
|
|
||||||
continue
|
|
||||||
|
|
||||||
if (cur_entry_type := _get_entry_type(entry.data)) != new_entry_type:
|
if (cur_entry_type := _get_entry_type(entry.data)) != new_entry_type:
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user