Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions custom_components/openhasp/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,16 +220,12 @@ async def async_step_personalize(self, user_input=None):
@callback
def async_get_options_flow(config_entry):
"""Set the OptionsFlowHandler."""
return OpenHASPOptionsFlowHandler(config_entry)
return OpenHASPOptionsFlowHandler()


class OpenHASPOptionsFlowHandler(config_entries.OptionsFlow):
"""ConfigOptions flow for openHASP."""

def __init__(self, config_entry):
"""Initialize openHASP options flow."""
self.config_entry = config_entry

async def async_step_init(self, user_input=None):
"""Manage the options."""
if user_input is not None:
Expand Down