Add missing typing to data_entry_flow (#49271)

This commit is contained in:
J. Nick Koston
2021-04-15 09:59:52 -10:00
committed by GitHub
parent 5a01addd67
commit 5fb36ad9e1

View File

@@ -164,7 +164,7 @@ class FlowManager(abc.ABC):
handler: str,
context: dict,
data: Any,
) -> tuple[FlowHandler, Any]:
) -> tuple[FlowHandler, FlowResultDict]:
"""Run the init in a task to allow it to be canceled at shutdown."""
flow = await self.async_create_flow(handler, context=context, data=data)
if not flow: