From edf071caa698b083cc718d891955a312d8852d47 Mon Sep 17 00:00:00 2001 From: kindofausername Date: Wed, 5 Feb 2025 18:46:46 +0100 Subject: [PATCH] Fix deprecated use of config_entry by making it private in OptionsFlowHandler --- custom_components/robovac/config_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/robovac/config_flow.py b/custom_components/robovac/config_flow.py index c99d3f6..0471be1 100644 --- a/custom_components/robovac/config_flow.py +++ b/custom_components/robovac/config_flow.py @@ -218,7 +218,7 @@ class OptionsFlowHandler(config_entries.OptionsFlow): """Handles options flow for the component.""" def __init__(self, config_entry: config_entries.ConfigEntry) -> None: - self.config_entry = config_entry + self._config_entry = config_entry self.selected_vacuum = None async def async_step_init(self, user_input=None):