From 8b0980a620457f8c2fa7e3f65fcf4911f71ace1d Mon Sep 17 00:00:00 2001 From: jcgoette Date: Fri, 24 Nov 2023 13:42:57 -0500 Subject: [PATCH] fix: Explicit __init__ to account for changes in https://github.com/home-assistant/core/pull/100627 --- custom_components/babybuddy/config_flow.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/custom_components/babybuddy/config_flow.py b/custom_components/babybuddy/config_flow.py index cc548c6..790eb58 100644 --- a/custom_components/babybuddy/config_flow.py +++ b/custom_components/babybuddy/config_flow.py @@ -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