From 4f9c6351b0d2dcc3378f8ea1a5632868a629eb52 Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Wed, 23 Aug 2023 12:08:01 +0200 Subject: [PATCH] Use constructor in Freebox config flow (#98870) 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 c037d3eee1a..2260e69cc3c 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