From cac5226bcfded22bc11e467e8eff12c16448a37d Mon Sep 17 00:00:00 2001 From: joostlek Date: Wed, 23 Aug 2023 12:02:04 +0200 Subject: [PATCH] Create data object in init --- homeassistant/components/freebox/config_flow.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/freebox/config_flow.py b/homeassistant/components/freebox/config_flow.py index c037d3eee1a4ce..2260e69cc3c95f 100644 --- a/homeassistant/components/freebox/config_flow.py +++ b/homeassistant/components/freebox/config_flow.py @@ -21,7 +21,9 @@ class FreeboxFlowHandler(config_entries.ConfigFlow, domain=DOMAIN): VERSION = 1 - _data: dict[str, Any] = {} + def __init__(self) -> None: + """Initialize config flow.""" + self._data: dict[str, Any] = {} async def async_step_user( self, user_input: dict[str, Any] | None = None