mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 02:07:09 +00:00
Use more efficient async_progress_by_handler call in async_start_reauth (#81757)
This commit is contained in:
parent
c585817e67
commit
4d1fa42a3c
@ -662,7 +662,7 @@ class ConfigEntry:
|
|||||||
"""Start a reauth flow."""
|
"""Start a reauth flow."""
|
||||||
if any(
|
if any(
|
||||||
flow
|
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
|
if flow["context"].get("source") == SOURCE_REAUTH
|
||||||
and flow["context"].get("entry_id") == self.entry_id
|
and flow["context"].get("entry_id") == self.entry_id
|
||||||
):
|
):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user