From dc15e65ae1392987625b3746f1691d6dbe07a13f Mon Sep 17 00:00:00 2001 From: Michael Graf Date: Sat, 20 Mar 2021 16:14:52 +0100 Subject: [PATCH] Update config_flow.py --- custom_components/vorwerk/config_flow.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/custom_components/vorwerk/config_flow.py b/custom_components/vorwerk/config_flow.py index a3f65e9..90416da 100644 --- a/custom_components/vorwerk/config_flow.py +++ b/custom_components/vorwerk/config_flow.py @@ -58,7 +58,9 @@ class VorwerkConfigFlow(config_entries.ConfigFlow, domain=VORWERK_DOMAIN): description_placeholders={"docs_url": DOCS_URL}, ) - async def async_step_code(self, user_input: Dict[str, Any] = {}) -> Dict[str, Any]: + async def async_step_code( + self, user_input: Dict[str, Any] = None + ) -> Dict[str, Any]: """Step when user enters OTP Code from email.""" assert self._email is not None # typing errors = {}