Hue + 0.60

I have read the breaking changes to hue with the 0.60 release an am having problems adding my hue bridge.

I have removed

light:
platform: hue
host: 192.168.1.69
allow_unreachable: true

And added

indent preformatted text by 4 spaces
hue:
   bridges:
      - host: 192.168.1.69
        filename: phue.conf
        allow_unreachable: true
        allow_hue_groups: true

Nothing is discovered.

I then removed all traces of hue from my configuration.yaml so that discovery would find my hue bridge. I get the error

Traceback (most recent call last):
 File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 193, in _async_setup_component
component.setup, hass, processed_config)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/hue.py", line 32, in setup
url = load_conf(filepath)
File "/home/homeassistant/.homeassistant/custom_components/hue.py", line 20, in load_conf
with open(filepath, 'r') as file_path:

FileNotFoundError: [Errno 2] No such file or directory: ‘/home/homeassistant/.homeassistant/phue.conf’

I renamed my phue.conf file as was under the impression this would be created, when discovered again.

When adding phue.conf and restarting home assistant and adding the configuration above manually nothing is discovered

Resolved it was the custome hue component that broke this for me

Had the same issue…thanks for the hint with custom hue component!

1 Like