Traceback (most recent call last):


 "/Users/ericness/anaconda3/lib/python3.6/site-packages/distributed/batched.py", line 94, in _background_send

on_error='raise')


 "/Users/ericness/anaconda3/lib/python3.6/site-packages/tornado/gen.py", line 1055, in run

value = future.result()


 "/Users/ericness/anaconda3/lib/python3.6/site-packages/tornado/concurrent.py", line 238, in result

raise_exc_info(self._exc_info)


 "<string>", line 4, in raise_exc_info


 "/Users/ericness/anaconda3/lib/python3.6/site-packages/tornado/gen.py", line 1063, in run

yielded = self.gen.throw(*exc_info)


 "/Users/ericness/anaconda3/lib/python3.6/site-packages/distributed/comm/tcp.py", line 221, in write

'recipient': self._peer_addr})


 "/Users/ericness/anaconda3/lib/python3.6/site-packages/tornado/gen.py", line 1055, in run

value = future.result()


 "/Users/ericness/anaconda3/lib/python3.6/site-packages/tornado/concurrent.py", line 238, in result

raise_exc_info(self._exc_info)


 "<string>", line 4, in raise_exc_info


 "/Users/ericness/anaconda3/lib/python3.6/site-packages/tornado/gen.py", line 1063, in run

yielded = self.gen.throw(*exc_info)


 "/Users/ericness/anaconda3/lib/python3.6/site-packages/distributed/comm/utils.py", line 47, in to_frames

res = yield offload(_to_frames)


 "/Users/ericness/anaconda3/lib/python3.6/site-packages/tornado/gen.py", line 1055, in run

value = future.result()


 "/Users/ericness/anaconda3/lib/python3.6/concurrent/futures/_base.py", line 425, in result

return self.__get_result()


 "/Users/ericness/anaconda3/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result

raise self._exception


 "/Users/ericness/anaconda3/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/Users/ericness/anaconda3/lib/python3.6/site-packages/distributed/comm/utils.py", line 40, in _to_frames

context=context))


 "/Users/ericness/anaconda3/lib/python3.6/site-packages/distributed/protocol/core.py", line 53, in dumps

for key, value in data.items()


 "/Users/ericness/anaconda3/lib/python3.6/site-packages/distributed/protocol/core.py", line 54, in <dictcomp>

if type(value) is Serialize}


 "/Users/ericness/anaconda3/lib/python3.6/site-packages/distributed/protocol/serialize.py", line 157, in serialize

raise TypeError(msg, str(x)[:10000])
TypeError: ('Could not serialize object of type tuple.', '(<function write_json_partition at 0x10e6262f0>, "(\'from_pandas-e602432ec131d6238006ae8d5408d0e5\', 1)", <dask.bytes.core.Open
 object at 0x110f9d5f8>, (<class \'dict\'>, [[\'orient\', \'records\'], [\'lines\', True]]))')

Traceback (most recent call last):


 "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)


 "/config/custom_components/alexa_media/__init__.py", line 450, in <lambda>

track_time_interval(hass, lambda now: update_devices(), scan_interval)


 "/usr/local/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 224, in wrapper

result = method(*args, **kwargs)


 "/usr/local/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 224, in wrapper

result = method(*args, **kwargs)


 "/config/custom_components/alexa_media/__init__.py", line 276, in update_devices

for device in devices:
TypeError: 'NoneType' object is not iterable
