Skip to content

Commit

Permalink
Remove setting configflow explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentwolsink committed Dec 15, 2024
1 parent 5efafc7 commit a84c11d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions custom_components/enphase_envoy/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a84c11d

Please sign in to comment.