Skip to content

Commit

Permalink
fix config flow
Browse files Browse the repository at this point in the history
  • Loading branch information
brg468 committed Dec 22, 2024
1 parent 9b20678 commit 57b9712
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions custom_components/wyzeapi/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 57b9712

Please sign in to comment.