After upgrading to 0.37, the LIFX platform fails to load with the following added to the log file:
17-01-29 15:36:29 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform lifx
Traceback (most recent call last):
File "C:\Users\Ryan\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\helpers\entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "C:\Users\Ryan\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "C:\Users\Ryan\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 296, in _wakeup
future.result()
File "C:\Users\Ryan\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Ryan\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\Ryan\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\light\lifx.py", line 50, in setup_platform
lifx_library = LIFX(add_devices, server_addr, broadcast_addr)
File "C:\Users\Ryan\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\light\lifx.py", line 72, in __init__
broadcast_addr)
File "C:\Users\Ryan\AppData\Roaming\.homeassistant\deps\liffylights.py", line 100, in __init__
self._sock.bind((listener_addr, UDP_PORT))
OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted
Here is the configuration:
light:
platform: lifx
broadcast: 192.168.2.255
These lights were working prior to the update. Any suggestions?