Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start

resp = await task


 "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle

resp = await handler(request)


 "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl

return await handler(request)


 "/usr/src/app/homeassistant/components/http/real_ip.py", line 37, in real_ip_middleware

return await handler(request)


 "/usr/src/app/homeassistant/components/http/ban.py", line 69, in ban_middleware

return await handler(request)


 "/usr/src/app/homeassistant/components/http/auth.py", line 228, in auth_middleware

return await handler(request)


 "/usr/src/app/homeassistant/components/http/view.py", line 124, in handle

result = await result


 "/usr/src/app/homeassistant/components/config/config_entries.py", line 153, in get

return await super().get(request, flow_id)


 "/usr/src/app/homeassistant/helpers/data_entry_flow.py", line 78, in get

result = await self._flow_mgr.async_configure(flow_id)


 "/usr/src/app/homeassistant/data_entry_flow.py", line 93, in async_configure

if cur_step.get("data_schema") is not None and user_input is not None:
AttributeError: 'NoneType' object has no attribute 'get'

Traceback (most recent call last):


 "/usr/local/bin/mypy", line 6, in <module>

main(__file__)


 "/usr/local/lib/python3.4/dist-packages/mypy/main.py", line 42, in main

res = type_check_only(sources, bin_dir, options)


 "/usr/local/lib/python3.4/dist-packages/mypy/main.py", line 86, in type_check_only

options=options)


 "/usr/local/lib/python3.4/dist-packages/mypy/build.py", line 183, in build

dispatch(sources, manager)


 "/usr/local/lib/python3.4/dist-packages/mypy/build.py", line 1531, in dispatch

process_graph(graph, manager)


 "/usr/local/lib/python3.4/dist-packages/mypy/build.py", line 1768, in process_graph

process_stale_scc(graph, scc)


 "/usr/local/lib/python3.4/dist-packages/mypy/build.py", line 1847, in process_stale_scc

graph[id].type_check_first_pass()


 "/usr/local/lib/python3.4/dist-packages/mypy/build.py", line 1453, in type_check_first_pass

self.type_checker.check_first_pass()


 "/usr/local/lib/python3.4/dist-packages/mypy/checker.py", line 167, in check_first_pass

self.accept(d)


 "/usr/local/lib/python3.4/dist-packages/mypy/checker.py", line 233, in accept

stmt.accept(self)


 "/usr/local/lib/python3.4/dist-packages/mypy/nodes.py", line 717, in accept

return visitor.visit_class_def(self)


 "/usr/local/lib/python3.4/dist-packages/mypy/checker.py", line 964, in visit_class_def

self.accept(defn.defs)


 "/usr/local/lib/python3.4/dist-packages/mypy/checker.py", line 233, in accept

stmt.accept(self)


 "/usr/local/lib/python3.4/dist-packages/mypy/nodes.py", line 778, in accept

return visitor.visit_block(self)


 "/usr/local/lib/python3.4/dist-packages/mypy/checker.py", line 1057, in visit_block

self.accept(s)


 "/usr/local/lib/python3.4/dist-packages/mypy/checker.py", line 233, in accept

stmt.accept(self)


 "/usr/local/lib/python3.4/dist-packages/mypy/nodes.py", line 819, in accept

return visitor.visit_assignment_stmt(self)


 "/usr/local/lib/python3.4/dist-packages/mypy/checker.py", line 1064, in visit_assignment_stmt

self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax)


 "/usr/local/lib/python3.4/dist-packages/mypy/checker.py", line 1140, in check_assignment

self.infer_variable_type(inferred, lvalue, self.expr_checker.accept(rvalue),


 "/usr/local/lib/python3.4/dist-packages/mypy/checkexpr.py", line 2015, in accept

typ = node.accept(self)


 "/usr/local/lib/python3.4/dist-packages/mypy/nodes.py", line 1492, in accept

return visitor.visit_super_expr(self)


 "/usr/local/lib/python3.4/dist-packages/mypy/checkexpr.py", line 1835, in visit_super_expr

t = self.analyze_super(e, False)


 "/usr/local/lib/python3.4/dist-packages/mypy/checkexpr.py", line 1854, in analyze_super

args = self.chk.scope.top_function().arguments
AttributeError: 'NoneType' object has no attribute 'arguments'
