Skip to content

Commit

Permalink
Changes according to review
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozef Kruszynski committed Jan 2, 2024
1 parent bb057d0 commit a250bca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/mass/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,11 +350,11 @@ def async_get_options_flow(config_entry):
class OptionsFlowHandler(config_entries.OptionsFlow):
"""Class to handle options flow."""

def __init__(self, config_entry: config_entries.ConfigEntry):
def __init__(self, config_entry: config_entries.ConfigEntry) -> None:
"""Initialize options flow."""
self.config_entry = config_entry

async def async_step_init(self, user_input=None):
async def async_step_init(self, user_input=None) -> FlowResult:
"""Manage the options."""
LOGGER.debug(
"OptionsFlowHandler:async_step_init user_input [%s] data [%s]",
Expand All @@ -381,7 +381,7 @@ async def async_step_init(self, user_input=None):
data_schema=vol.Schema(schema),
)

def mass_config_option_schema(self, config_entry: config_entries.ConfigEntry) -> dict:
def mass_config_option_schema(self, config_entry: config_entries.ConfigEntry) -> vol.Schema:
"""Return a schema for MusicAssistant completion options."""
return {
vol.Required(
Expand Down

0 comments on commit a250bca

Please sign in to comment.