From 922af5aea7bd94b4df04abd533920958a8605eba Mon Sep 17 00:00:00 2001 From: freybene Date: Sat, 27 Jul 2024 09:25:59 +0200 Subject: [PATCH] Allow manual reauth (fixes #16) --- custom_components/smartthings_find/config_flow.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/custom_components/smartthings_find/config_flow.py b/custom_components/smartthings_find/config_flow.py index 9e55526..319ed95 100644 --- a/custom_components/smartthings_find/config_flow.py +++ b/custom_components/smartthings_find/config_flow.py @@ -136,6 +136,9 @@ class SmartThingsFindConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): ) return await self.async_step_user() + async def async_step_reconfigure(self, user_input: dict[str, Any] | None = None): + return await self.async_step_reauth_confirm(self) + @staticmethod @callback def async_get_options_flow(