mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 18:33:24 +00:00
WIP: Don't use reloading in async_update_reload_and_abort with update listeners
This commit is contained in:
@ -3194,6 +3194,8 @@ class ConfigFlow(ConfigEntryBaseFlow):
|
||||
options=options,
|
||||
)
|
||||
if reload_even_if_entry_is_unchanged or result:
|
||||
if entry.update_listeners:
|
||||
raise ValueError("Cannot update entry with update listeners")
|
||||
self.hass.config_entries.async_schedule_reload(entry.entry_id)
|
||||
if reason is UNDEFINED:
|
||||
reason = "reauth_successful"
|
||||
|
Reference in New Issue
Block a user