mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Update usage of async_entries to use _async_current_entries (#50187)
This commit is contained in:
@@ -54,7 +54,7 @@ class TransmissionFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
|
||||
if user_input is not None:
|
||||
|
||||
for entry in self.hass.config_entries.async_entries(DOMAIN):
|
||||
for entry in self._async_current_entries():
|
||||
if (
|
||||
entry.data[CONF_HOST] == user_input[CONF_HOST]
|
||||
and entry.data[CONF_PORT] == user_input[CONF_PORT]
|
||||
|
Reference in New Issue
Block a user