Update config_flow.py

This commit is contained in:
Michael Graf 2021-03-20 16:14:52 +01:00
parent 5b7aa7f0a8
commit dc15e65ae1

View File

@ -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 = {}