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: