LIFX intergration unknown error

So I thought it would be a good idea to upgrade multiple major versions without really reading the breaking changes, real smart I know. I upgraded from 0.77.3 to 0.82.1 and now have a few issues with my Home Assistant. My main one at the moment is LIFX bulbs aren’t showing up.

I noticed that LIFX has been moved to the integrations set up. So I commented out:

light:
#   - platform: lifx

And went to set up via web gui, a separate window pops up asking: Do you want to set up LIFX?

I hit submit button and receive an: “Unknown error occurred”

tail -f /home/homeassistant/.homeassistant/home-assistant.log

2018-11-28 14:21:06 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 390, in start
    resp = await self._request_handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_app.py", line 366, in _handle
    resp = await handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_middlewares.py", line 106, in impl
    return await handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/static.py", line 66, in staticresource_middleware
    return await handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
    return await handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware
    return await handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py", line 97, in auth_middleware
    return await handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
    return await handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware
    return await handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py", line 97, in auth_middleware
    return await handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/view.py", line 113, in handle
    result = await result
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/data_validator.py", line 47, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/data_entry_flow.py", line 86, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/data_entry_flow.py", line 80, in async_configure
    flow, step_id, user_input)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/data_entry_flow.py", line 98, in _async_handle_step
    result = await getattr(flow, method)(user_input)  # type: Dict
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/config_entry_flow.py", line 62, in async_step_confirm
    self._discovery_function, self.hass)
  File "/usr/local/lib/python3.5/asyncio/futures.py", line 381, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.5/asyncio/tasks.py", line 310, in _wakeup
    future.result()
  File "/usr/local/lib/python3.5/asyncio/futures.py", line 294, in result
    raise self._exception
  File "/usr/local/lib/python3.5/asyncio/tasks.py", line 240, in _step
    result = coro.send(None)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/lifx/__init__.py", line 53, in _async_has_devices
    lifx_ip_addresses = await aiolifx.LifxScan(hass.loop).scan()
  File "/srv/homeassistant/lib/python3.5/site-packages/aiolifx/aiolifx.py", line 1281, in scan
    (done, pending) = await aio.wait(tasks, timeout=1)
  File "/usr/local/lib/python3.5/asyncio/tasks.py", line 352, in wait
    raise ValueError('Set of coroutines/Futures is empty.')
ValueError: Set of coroutines/Futures is empty.

Did you restart HA after commenting out the lifx component?

Yeah sorry I restarted HA a few times.

This means that the LIFX integration was unable to locate any network interface. I don’t know why that would happen but you should be able to avoid it with manual configuration:

lifx:
  light:
    server: HOME_ASSISTANT_IP_ADDRESS
    broadcast: BROADCAST_IP_ADDRESS

Maybe you do not need broadcast, I am not sure.