Update to 0.74 - Error doing job: Task exception was never retrieved

Hi Team,

My hassbian has been working a dream the last six months, I have been regularly updating etc. I just upgraded from 0.73.somethingorother to 0.74, and now it’s failing to load. The below is what my error log is showing.

Can anyone help or point me in the right direction? Any help would be hugely appreciated!

I am reluctant to remove chuanmi component as it’s running lights and sockets throughout the house!

2018-03-30 15:27:50 ERROR (MainThread) [homeassistant.loader] Unable to find component chuangmi
2018-03-30 15:27:50 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 179, in _step
    result = coro.send(None)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/websocket_api.py", line 472, in get_services_helper
    descriptions = await async_get_all_descriptions(self.hass)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 152, in async_get_all_descriptions
    missing.add(domain_yaml_file(domain))
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 131, in domain_yaml_file
    component_path = path.dirname(get_component(domain).__file__)
AttributeError: 'NoneType' object has no attribute '__file__'
2018-03-30 15:28:06 ERROR (SyncWorker_0) [homeassistant.components.light.yeelight] Failed to connect to bulb 10.39.167.111, yeelight_rgb_34ce008e9846: A socket error occurred when sending the command.
2018-03-30 15:28:20 ERROR (SyncWorker_18) [xiaomiplug.device] Unable to discover a device at address 10.39.167.102
2018-03-30 15:28:20 ERROR (SyncWorker_18) [custom_components.switch.xiaomiplug] Got exception while fetching the state: Unable to discover the device 10.39.167.102
2018-03-30 15:28:25 ERROR (SyncWorker_7) [xiaomiplug.device] Unable to discover a device at address 10.39.167.133
2018-03-30 15:28:25 ERROR (SyncWorker_7) [custom_components.switch.xiaomiplug] Got exception while fetching the state: Unable to discover the device 10.39.167.133
2018-03-30 15:28:51 ERROR (SyncWorker_17) [xiaomiplug.device] Unable to discover a device at address 10.39.167.102
2018-03-30 15:28:51 ERROR (SyncWorker_17) [custom_components.switch.xiaomiplug] Got exception while fetching the state: Unable to discover the device 10.39.167.102
2018-03-30 15:28:56 ERROR (SyncWorker_13) [xiaomiplug.device] Unable to discover a device at address 10.39.167.133
2018-03-30 15:28:56 ERROR (SyncWorker_13) [custom_components.switch.xiaomiplug] Got exception while fetching the state: Unable to discover the device 10.39.167.133
2018-03-30 15:29:00 ERROR (MainThread) [aiohttp.access] Error in logging
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/aiohttp/helpers.py", line 487, in __get__
    return inst._cache[self.name]
KeyError: 'remote'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/aiohttp/helpers.py", line 451, in log
    for key, value in fmt_info:
  File "/srv/homeassistant/lib/python3.6/site-packages/aiohttp/helpers.py", line 443, in <genexpr>
    for key, method in self._methods)
  File "/srv/homeassistant/lib/python3.6/site-packages/aiohttp/helpers.py", line 401, in _format_a
    ip = request.remote
  File "/srv/homeassistant/lib/python3.6/site-packages/aiohttp/helpers.py", line 489, in __get__
    val = self.wrapped(inst)
  File "/srv/homeassistant/lib/python3.6/site-packages/aiohttp/web_request.py", line 332, in remote
    peername = self.transport.get_extra_info('peername')
  File "/usr/local/lib/python3.6/asyncio/sslproto.py", line 306, in get_extra_info
    return self._ssl_protocol._get_extra_info(name, default)
  File "/usr/local/lib/python3.6/asyncio/sslproto.py", line 547, in _get_extra_info
    return self._transport.get_extra_info(name, default)
AttributeError: 'NoneType' object has no attribute 'get_extra_info'
2018-03-30 15:29:22 ERROR (SyncWorker_19) [xiaomiplug.device] Unable to discover a device at address 10.39.167.102
2018-03-30 15:29:22 ERROR (SyncWorker_19) [custom_components.switch.xiaomiplug] Got exception while fetching the state: Unable to discover the device 10.39.167.102
2018-03-30 15:29:27 ERROR (SyncWorker_9) [xiaomiplug.device] Unable to discover a device at address 10.39.167.133
2018-03-30 15:29:27 ERROR (SyncWorker_9) [custom_components.switch.xiaomiplug] Got exception while fetching the state: Unable to discover the device 10.39.167.133
2018-03-30 15:29:51 ERROR (MainThread) [homeassistant.loader] Unable to find component chuangmi
2018-03-30 15:29:51 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 179, in _step
    result = coro.send(None)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/websocket_api.py", line 472, in get_services_helper
    descriptions = await async_get_all_descriptions(self.hass)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 152, in async_get_all_descriptions
    missing.add(domain_yaml_file(domain))
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 131, in domain_yaml_file
    component_path = path.dirname(get_component(domain).__file__)
AttributeError: 'NoneType' object has no attribute '__file__'
2018-03-30 15:29:53 ERROR (SyncWorker_11) [xiaomiplug.device] Unable to discover a device at address 10.39.167.133
2018-03-30 15:29:53 ERROR (SyncWorker_11) [custom_components.switch.xiaomiplug] Got exception while fetching the state: Unable to discover the device 10.39.167.133
2018-03-30 15:29:58 ERROR (SyncWorker_17) [xiaomiplug.device] Unable to discover a device at address 10.39.167.102
2018-03-30 15:29:58 ERROR (SyncWorker_17) [custom_components.switch.xiaomiplug] Got exception while fetching the state: Unable to discover the device 10.39.167.102
2018-03-30 15:30:24 ERROR (SyncWorker_10) [xiaomiplug.device] Unable to discover a device at address 10.39.167.133
2018-03-30 15:30:24 ERROR (SyncWorker_10) [custom_components.switch.xiaomiplug] Got exception while fetching the state: Unable to discover the device 10.39.167.133
2018-03-30 15:30:30 ERROR (SyncWorker_9) [xiaomiplug.device] Unable to discover a device at address 10.39.167.102
2018-03-30 15:30:30 ERROR (SyncWorker_9) [custom_components.switch.xiaomiplug] Got exception while fetching the state: Unable to discover the device 10.39.167.102
2018-03-30 15:30:55 ERROR (SyncWorker_14) [xiaomiplug.device] Unable to discover a device at address 10.39.167.133
2018-03-30 15:30:55 ERROR (SyncWorker_14) [custom_components.switch.xiaomiplug] Got exception while fetching the state: Unable to discover the device 10.39.167.133

Sorted it, just had to update the out of date component. Sorry everyone!