Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py", line 95, in async_handle

handler(self.hass, self, schema(msg))


 "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 265, in handle_render_template

state_listener()


 "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 253, in state_listener

msg["id"], {"result": template.async_render(variables)}


 "/usr/src/homeassistant/homeassistant/helpers/template.py", line 228, in async_render

return compiled.render(kwargs).strip()


 "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render

self.environment.handle_exception()


 "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception

reraise(*rewrite_traceback_stack(source=source))


 "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise

raise value.with_traceback(tb)


 "<template>", line 1, in top-level template code


 "/usr/local/lib/python3.7/site-packages/jinja2/sandbox.py", line 462, in call

return __context.call(__obj, *args, **kwargs)


 "/usr/src/homeassistant/homeassistant/helpers/template.py", line 825, in strptime

return datetime.strptime(string, fmt)
TypeError: strptime() argument 1 must be str, not None

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/eddy/anaconda3/lib/python3.6/site-packages/osmnx/core.py", line 1800, in graph_from_place

clean_periphery=clean_periphery, infrastructure=infrastructure)


 "/home/eddy/anaconda3/lib/python3.6/site-packages/osmnx/core.py", line 1679, in graph_from_polygon

G_buffered = create_graph(response_jsons, name=name, retain_all=True, network_type=network_type)


 "/home/eddy/anaconda3/lib/python3.6/site-packages/osmnx/core.py", line 1321, in create_graph

G = add_edge_lengths(G)


 "/home/eddy/anaconda3/lib/python3.6/site-packages/osmnx/core.py", line 1161, in add_edge_lengths

coords = np.array([[u, v, k, G.nodes[u]['y'], G.nodes[u]['x'], G.nodes[v]['y'], G.nodes[v]['x']] for u, v, k in G.edges(keys=True)])


 "/home/eddy/anaconda3/lib/python3.6/site-packages/osmnx/core.py", line 1161, in <listcomp>

coords = np.array([[u, v, k, G.nodes[u]['y'], G.nodes[u]['x'], G.nodes[v]['y'], G.nodes[v]['x']] for u, v, k in G.edges(keys=True)])
TypeError: 'method' object is not subscriptable
