Traceback (most recent call last):


 "/home/sebastiaan/pydis/repositories/djangobot/bot/cogs/cogs.py", line 232, in reload_command

self.bot.unload_extension(full_cog)


 "/home/sebastiaan/.local/share/virtualenvs/djangobot-Py5o4YeS/lib/python3.7/site-packages/discord/ext/commands/bot.py", line 655, in unload_extension

self._remove_module_references(lib.__name__)


 "/home/sebastiaan/.local/share/virtualenvs/djangobot-Py5o4YeS/lib/python3.7/site-packages/discord/ext/commands/bot.py", line 534, in _remove_module_references

self.remove_cog(cogname)


 "/home/sebastiaan/.local/share/virtualenvs/djangobot-Py5o4YeS/lib/python3.7/site-packages/discord/ext/commands/bot.py", line 520, in remove_cog

cog._eject(self)


 "/home/sebastiaan/.local/share/virtualenvs/djangobot-Py5o4YeS/lib/python3.7/site-packages/discord/ext/commands/cog.py", line 414, in _eject

self.cog_unload()


 "/home/sebastiaan/pydis/repositories/djangobot/bot/cogs/watchchannels/watchchannel.py", line 338, in cog_unload

if not self._consume_task.done():
AttributeError: 'NoneType' object has no attribute 'done'

Traceback (most recent call last):


 "/usr/src/app/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform

SLOW_SETUP_MAX_WAIT)


 "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for

return fut.result()


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

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


 "/usr/src/app/homeassistant/components/netatmo/sensor.py", line 143, in setup_platform

config.get(CONF_STATION)))


 "/usr/src/app/homeassistant/components/netatmo/sensor.py", line 190, in __init__

self._module_type = self.netatmo_data. \
AttributeError: 'NoneType' object has no attribute 'moduleByName'
