Traceback (most recent call last):


 "/usr/local/lib/python3.6/asyncio/tasks.py", line 179, in _step

result = coro.send(None)


 "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 368, in async_process_entity

new_entity, self, update_before_add=update_before_add


 "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 223, in async_add_entity

yield from entity.async_added_to_hass()


 "/usr/local/lib/python3.6/asyncio/coroutines.py", line 210, in coro

res = func(*args, **kw)


 "/usr/local/lib/python3.6/site-packages/homeassistant/components/fan/dyson.py", line 78, in async_added_to_hass

self._device.add_message_listener(self.on_message))


 "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 210, in async_add_job

elif is_callback(target):


 "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 78, in is_callback

return '_hass_callback' in func.__dict__
AttributeError: 'NoneType' object has no attribute '__dict__'

Traceback (most recent call last):


 "echo.py", line 17, in <module>

for contact in driver.get_unread():


 "/usr/local/lib/python2.7/dist-packages/webwhatsapi/__init__.py", line 371, in get_unread

filter(None.__ne__, [factory_message(message, self) for message in raw_message_group['messages']]))
AttributeError: 'NoneType' object has no attribute '__ne__'
