diff --git a/custom_components/enphase_envoy/config_flow.py b/custom_components/enphase_envoy/config_flow.py index 04f2d58..e1b36f0 100644 --- a/custom_components/enphase_envoy/config_flow.py +++ b/custom_components/enphase_envoy/config_flow.py @@ -220,17 +220,13 @@ async def async_step_user( @staticmethod @callback - def async_get_options_flow(config_entry): - return EnvoyOptionsFlowHandler(config_entry) + def async_get_options_flow(config_entry: ConfigEntry): + return EnvoyOptionsFlowHandler() class EnvoyOptionsFlowHandler(config_entries.OptionsFlow): """Envoy config flow options handler.""" - def __init__(self, config_entry): - """Initialize Envoy options flow.""" - self.config_entry = config_entry - async def async_step_init(self, _user_input=None): """Manage the options.""" return await self.async_step_user()