Skip to content

Commit

Permalink
fix: Explicit __init__ to account for changes in
Browse files Browse the repository at this point in the history
  • Loading branch information
jcgoette committed Nov 24, 2023
1 parent 542e24b commit 8b0980a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions custom_components/babybuddy/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,12 @@ async def async_step_reauth_confirm(
)


@dataclass
class BabyBuddyOptionsFlowHandler(config_entries.OptionsFlow):
"""Handle babybuddy options."""

config_entry: config_entries.ConfigEntry
def __init__(self, config_entry: config_entries.ConfigEntry) -> None:
"""Init object."""
self.config_entry = config_entry

async def async_step_init(
self, user_input: dict[str, Any] | None = None
Expand Down

0 comments on commit 8b0980a

Please sign in to comment.