diff --git a/custom_components/infpro/config_flow.py b/custom_components/infpro/config_flow.py index a468cec..afcdec9 100644 --- a/custom_components/infpro/config_flow.py +++ b/custom_components/infpro/config_flow.py @@ -73,9 +73,10 @@ def async_get_options_flow(config_entry): class InfProOptionsFlow(config_entries.OptionsFlow): """Flux de opțiuni pentru integrarea INFP.""" - def __init__(self, config_entry): + def __init__(self, config_entry: config_entries.ConfigEntry): """Inițializează fluxul de opțiuni.""" - self.config_entry = config_entry + super().__init__() + self._config_entry = config_entry async def async_step_init(self, user_input=None): """Pasul inițial pentru fluxul de opțiuni."""