Skip to content

Commit

Permalink
fix: warning about depricated option flow
Browse files Browse the repository at this point in the history
  • Loading branch information
cdnninja committed Jan 4, 2025
1 parent 60b9b1c commit ae0f717
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/yoto/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ async def validate_input(hass: HomeAssistant, user_input: dict[str, Any]) -> Tok
class YotoOptionFlowHandler(config_entries.OptionsFlow):
"""Handle an option flow for Yoto."""

def __init__(self, config_entry: ConfigEntry) -> None:
def __init__(self) -> None:
"""Initialize option flow instance."""
self.config_entry = config_entry
self.schema = vol.Schema(
{
vol.Required(
Expand Down

0 comments on commit ae0f717

Please sign in to comment.