From a7d0840abc7132e4e7adfcacb6b0e91c4ac8d793 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Thu, 3 Oct 2024 14:44:12 +0200 Subject: [PATCH] Revert "Adjust async_step_reconfigure documentation (#2345)" (#2351) This reverts commit b86ac6c3f10d1786cb759c61bd2ae22f0b708226. --- docs/config_entries_config_flow_handler.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docs/config_entries_config_flow_handler.md b/docs/config_entries_config_flow_handler.md index 04f5eb9c..9f17ae98 100644 --- a/docs/config_entries_config_flow_handler.md +++ b/docs/config_entries_config_flow_handler.md @@ -281,14 +281,7 @@ import voluptuous as vol class ExampleConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): """Config flow for Example integration.""" - async def async_step_reconfigure( - self, entry_data: Mapping[str, Any] - ) -> ConfigFlowResult: - return await async_step_reconfigure_confirm() - - async def async_step_reconfigure_confirm( - self, user_input: dict[str, Any] | None = None - ) -> ConfigFlowResult: + async def async_step_reconfigure(self, user_input: dict[str, Any] | None = None): if user_input is not None: pass # TODO: process user input