mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Use constructor in Freebox config flow (#98870)
Create data object in init
This commit is contained in:
parent
5b3c60527a
commit
4f9c6351b0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user