Adjust async_step_reconfigure documentation (#2345)

* Adjust async_step_reconfigure documentation

* Update config_entries_config_flow_handler.md
This commit is contained in:
epenet 2024-10-02 01:50:09 +02:00 committed by GitHub
parent d4d2bae3ee
commit b86ac6c3f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -276,7 +276,14 @@ import voluptuous as vol
class ExampleConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
"""Config flow for Example integration."""
async def async_step_reconfigure(self, user_input: dict[str, Any] | None = None):
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:
if user_input is not None:
pass # TODO: process user input