home-assistant-graph icon indicating copy to clipboard operation
home-assistant-graph copied to clipboard

Doesn't work anymore

Open DuckY1987 opened this issue 6 years ago • 0 comments

HA version: 0.67

I tried to make the graph working again, i just get errors:

Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.5/dist-packages/hagraph/__main__.py", line 31, in <module>
    main()
  File "/usr/local/lib/python3.5/dist-packages/hagraph/__main__.py", line 26, in main
    graph = make_graph(conf)
  File "/usr/local/lib/python3.5/dist-packages/hagraph/__init__.py", line 254, in make_graph
    add_core_edges(conf, graph)
  File "/usr/local/lib/python3.5/dist-packages/hagraph/__init__.py", line 215, in add_core_edges
    add_automation(data, graph)
  File "/usr/local/lib/python3.5/dist-packages/hagraph/__init__.py", line 192, in add_automation
    if isinstance(data['trigger'], list):
TypeError: list indices must be integers or slices, not str

Last working version was last year, august. Fits more or less the timestamp of the repo update.

I will update soon to the latest ha version, when all tests in the test environment of my automations are passed.

Great work, would be cool if i would be able to continue using it.

DuckY1987 avatar Jul 05 '18 16:07 DuckY1987