After upgrading to 0.37, my HUE lights are not loading. I use the default method of discovery to connect/load to HUE. I checked the log and this is what happens on restart of HA.
17-01-29 08:38:43 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform hue
Traceback (most recent call last):
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/light/hue.py”, line 128, in setup_platform
allow_in_emulated_hue, allow_hue_groups)
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/light/hue.py”, line 139, in setup_bridge
config_file_path=hass.config.path(filename))
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/core.py”, line 1107, in path
return os.path.join(self.config_dir, *path)
File “/srv/hass/hass_venv/lib/python3.4/posixpath.py”, line 79, in join
if b.startswith(sep):
AttributeError: ‘NoneType’ object has no attribute ‘startswith’
Any ideas how to fix?