mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-17 06:16:28 +00:00
Adjust async_step_reconfigure documentation (#2345)
* Adjust async_step_reconfigure documentation * Update config_entries_config_flow_handler.md
This commit is contained in:
parent
d4d2bae3ee
commit
b86ac6c3f1
@ -276,7 +276,14 @@ import voluptuous as vol
|
|||||||
class ExampleConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
class ExampleConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
||||||
"""Config flow for Example integration."""
|
"""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:
|
if user_input is not None:
|
||||||
pass # TODO: process user input
|
pass # TODO: process user input
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user