Skip to content

Commit

Permalink
Fix config entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Mamontov committed May 17, 2022
1 parent 8810681 commit 128a2af
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom_components/miwifi/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,7 @@ async def async_update_unique_id(self, unique_id: str) -> None: # pragma: no co
if self._config_entry.unique_id == unique_id:
return

for flow in self.hass.config_entries.flow.async_progress(
include_uninitialized=True
):
for flow in self.hass.config_entries.flow.async_progress(True):
if (
flow["flow_id"] != self.flow_id
and flow["context"].get("unique_id") == unique_id
Expand Down

0 comments on commit 128a2af

Please sign in to comment.