Use more efficient async_progress_by_handler call in async_start_reauth (#81757)
This commit is contained in:
parent
c585817e67
commit
4d1fa42a3c
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ class ConfigEntry:
|
|||
"""Start a reauth flow."""
|
||||
if any(
|
||||
flow
|
||||
for flow in hass.config_entries.flow.async_progress()
|
||||
for flow in hass.config_entries.flow.async_progress_by_handler(self.domain)
|
||||
if flow["context"].get("source") == SOURCE_REAUTH
|
||||
and flow["context"].get("entry_id") == self.entry_id
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue