From bef9b54e084e0b531a0dfd316058f95f7eded9b2 Mon Sep 17 00:00:00 2001 From: John Stenger Date: Sat, 21 Dec 2024 06:34:54 -0800 Subject: [PATCH 1/2] Update config_flow.py --- custom_components/foldingathomecontrol/config_flow.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/custom_components/foldingathomecontrol/config_flow.py b/custom_components/foldingathomecontrol/config_flow.py index 044b245..ab5b556 100644 --- a/custom_components/foldingathomecontrol/config_flow.py +++ b/custom_components/foldingathomecontrol/config_flow.py @@ -80,9 +80,8 @@ async def async_step_import(self, import_config) -> config_entries.ConfigFlowRes class FoldingAtHomeControlOptionsFlowHandler(config_entries.OptionsFlow): """Handle FoldingAtHomeControl client options.""" - def __init__(self, config_entry) -> None: + def __init__(self) -> None: """Initialize FoldingAtHomeControl options flow.""" - self.config_entry = config_entry async def async_step_init(self, user_input=None) -> config_entries.ConfigFlowResult: """Manage the FoldingAtHomeControl options.""" From 4e9afd06e85040bdc14059cf8621144a35374e29 Mon Sep 17 00:00:00 2001 From: John Stenger Date: Sat, 21 Dec 2024 06:57:19 -0800 Subject: [PATCH 2/2] Update config_flow.py --- custom_components/foldingathomecontrol/config_flow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/foldingathomecontrol/config_flow.py b/custom_components/foldingathomecontrol/config_flow.py index ab5b556..d09ec95 100644 --- a/custom_components/foldingathomecontrol/config_flow.py +++ b/custom_components/foldingathomecontrol/config_flow.py @@ -80,8 +80,9 @@ async def async_step_import(self, import_config) -> config_entries.ConfigFlowRes class FoldingAtHomeControlOptionsFlowHandler(config_entries.OptionsFlow): """Handle FoldingAtHomeControl client options.""" - def __init__(self) -> None: + def __init__(self, config_entry) -> None: """Initialize FoldingAtHomeControl options flow.""" + #self.config_entry = config_entry async def async_step_init(self, user_input=None) -> config_entries.ConfigFlowResult: """Manage the FoldingAtHomeControl options."""