From 663df913a5451fbaf14ade18ede455ae6f89a5fb Mon Sep 17 00:00:00 2001 From: G Johansson Date: Sat, 19 Jul 2025 14:22:15 +0000 Subject: [PATCH] WIP: Don't use reloading in async_update_reload_and_abort with update listeners --- homeassistant/config_entries.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/config_entries.py b/homeassistant/config_entries.py index 1c4f2b51ac7..c8ad7424374 100644 --- a/homeassistant/config_entries.py +++ b/homeassistant/config_entries.py @@ -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"