Skip to content

Doesn't work anymore #5

@DuckY1987

Description

@DuckY1987

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions