Traceback (most recent call last):


 "/usr/local/google/home/mpharrigan/cirq/env/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3427, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)


 "<ipython-input-7-0e5a100f1b72>", line 1, in <module>

print(cirq.to_json({'value': np.array(1)}))


 "/usr/local/google/home/mpharrigan/cirq/cirq/cirq/protocols/json_serialization.py", line 515, in to_json

if has_serializable_by_keys(obj):


 "/usr/local/google/home/mpharrigan/cirq/cirq/cirq/protocols/json_serialization.py", line 445, in has_serializable_by_keys

return any(has_serializable_by_keys(elem) for pair in obj.items() for elem in pair)


 "/usr/local/google/home/mpharrigan/cirq/cirq/cirq/protocols/json_serialization.py", line 445, in <genexpr>

return any(has_serializable_by_keys(elem) for pair in obj.items() for elem in pair)


 "/usr/local/google/home/mpharrigan/cirq/cirq/cirq/protocols/json_serialization.py", line 447, in has_serializable_by_keys

return any(has_serializable_by_keys(elem) for elem in obj)
TypeError: iteration over a 0-d array

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service

connection.context(msg),


 "/usr/src/homeassistant/homeassistant/core.py", line 1235, in async_call

await asyncio.shield(self._execute_service(handler, service_call))


 "/usr/src/homeassistant/homeassistant/core.py", line 1262, in _execute_service

await self._hass.async_add_executor_job(handler.func, service_call)


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

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


 "/usr/src/homeassistant/homeassistant/components/abode/__init__.py", line 191, in capture_image

for entity_id in hass.data[DOMAIN].entity_ids


 "/usr/src/homeassistant/homeassistant/components/abode/__init__.py", line 192, in <listcomp>

if entity_id in entity_ids
TypeError: argument of type 'NoneType' is not iterable
