Traceback (most recent call last):


 "/usr/lib/python3.7/asyncio/events.py", line 88, in _run

self._context.run(self._callback, *self._args)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/event.py", line 103, in state_change_listener

event.data.get("new_state"),


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/core.py", line 364, in async_run_job

target(*args)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/automation/state.py", line 92, in state_automation_listener

call_action()


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/automation/state.py", line 78, in call_action

context=to_s.context,
AttributeError: 'NoneType' object has no attribute 'context'

Traceback (most recent call last):


 "/usr/local/bin/beet", line 11, in <module>

load_entry_point('beets==1.5.0', 'console_scripts', 'beet')()


 "/usr/local/lib/python3.6/dist-packages/beets/ui/__init__.py", line 1267, in main

_raw_main(args)


 "/usr/local/lib/python3.6/dist-packages/beets/ui/__init__.py", line 1254, in _raw_main

subcommand.func(lib, suboptions, subargs)


 "/usr/local/lib/python3.6/dist-packages/beetsplug/chroma.py", line 226, in submit_cmd_func

submit_items(self._log, apikey, lib.items(ui.decargs(args)))


 "/usr/local/lib/python3.6/dist-packages/beetsplug/chroma.py", line 307, in submit_items

submit_chunk()


 "/usr/local/lib/python3.6/dist-packages/beetsplug/chroma.py", line 276, in submit_chunk

acoustid.submit(API_KEY, userkey, data)


 "/usr/lib/python3/dist-packages/acoustid.py", line 369, in submit

for k, v in d.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'
