From ad14ebe7e911955e3d91917338c88c5d04161c33 Mon Sep 17 00:00:00 2001 From: mkmer Date: Tue, 23 Jan 2024 11:15:37 -0500 Subject: [PATCH] Use new config entry update/abort handler in Honeywell (#108726) Use update_reload helper in Honeywell --- homeassistant/components/honeywell/config_flow.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homeassistant/components/honeywell/config_flow.py b/homeassistant/components/honeywell/config_flow.py index dab8353c773..43d08ee2294 100644 --- a/homeassistant/components/honeywell/config_flow.py +++ b/homeassistant/components/honeywell/config_flow.py @@ -66,15 +66,13 @@ class HoneywellConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): errors["base"] = "cannot_connect" else: - self.hass.config_entries.async_update_entry( + return self.async_update_reload_and_abort( self.entry, data={ **self.entry.data, **user_input, }, ) - await self.hass.config_entries.async_reload(self.entry.entry_id) - return self.async_abort(reason="reauth_successful") return self.async_show_form( step_id="reauth_confirm",