From 57b971206b423d5deca2aecd6840b2e0a8fe1d5f Mon Sep 17 00:00:00 2001 From: Brian Rogers Date: Sun, 22 Dec 2024 11:51:14 -0500 Subject: [PATCH] fix config flow --- custom_components/wyzeapi/config_flow.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/custom_components/wyzeapi/config_flow.py b/custom_components/wyzeapi/config_flow.py index 2af729cd..1167597c 100644 --- a/custom_components/wyzeapi/config_flow.py +++ b/custom_components/wyzeapi/config_flow.py @@ -131,13 +131,16 @@ async def async_step_reauth(self, user_input=None): @staticmethod @callback - def async_get_options_flow(config_entry): - """Get the options flow for this handler.""" - return OptionsFlowHandler(config_entry) + def async_get_options_flow( + config_entry: config_entries.ConfigEntry + ) -> OptionsFlowHandler: + """Create the Wyze options flow .""" + return OptionsFlowHandler() class OptionsFlowHandler(config_entries.OptionsFlow): """Handle an option flow for Wyze.""" + async def async_step_init(self, user_input=None): """Handle options flow.""" if user_input is not None: