From 3b6c85b904de3003e73031fa6c03342cbf7ceed9 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 22 Jan 2024 11:12:18 -1000 Subject: [PATCH] Use new config entry update/abort helper in august (#108673) Use new config entry update/abort helper in august uses the new helper from https://github.com/home-assistant/core/pull/108034 --- homeassistant/components/august/config_flow.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homeassistant/components/august/config_flow.py b/homeassistant/components/august/config_flow.py index f22b16008d3..8aaf1b1a05b 100644 --- a/homeassistant/components/august/config_flow.py +++ b/homeassistant/components/august/config_flow.py @@ -271,6 +271,4 @@ class AugustConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): if not existing_entry: return self.async_create_entry(title=info["title"], data=info["data"]) - self.hass.config_entries.async_update_entry(existing_entry, data=info["data"]) - await self.hass.config_entries.async_reload(existing_entry.entry_id) - return self.async_abort(reason="reauth_successful") + return self.async_update_reload_and_abort(existing_entry, data=info["data"])