HA cannot connect to HUE bridge after August '24 update

hi
i updated from the july version to latest August version today. Eversince then HA can’t register with the HUE Bridge. I have tried removing the integration and adding it again (as outlined in another thread). After pressing the button on the HUE bridge and submitting the configuration it said “success”. Alas the problem remains. Any ideas would be much appreciated. Thanks!

And here is the log:

Logger: homeassistant.components.hue.bridge
Source: components/hue/bridge.py:78
integration: Philips Hue (documentation, issues)
First occurred: 3:30:34 PM (3 occurrences)
Last logged: 3:34:15 PM

Unknown error connecting to Hue bridge
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hue/bridge.py", line 78, in async_initialize_bridge
    await self.api.initialize()
  File "/usr/local/lib/python3.12/site-packages/aiohue/v2/__init__.py", line 108, in initialize
    await self.fetch_full_state()
  File "/usr/local/lib/python3.12/site-packages/aiohue/v2/__init__.py", line 252, in fetch_full_state
    await asyncio.gather(
  File "/usr/local/lib/python3.12/site-packages/aiohue/v2/controllers/base.py", line 336, in initialize
    await resource_control.initialize(initial_data)
  File "/usr/local/lib/python3.12/site-packages/aiohue/v2/controllers/base.py", line 80, in initialize
    await self._handle_event(EventType.RESOURCE_ADDED, item)
  File "/usr/local/lib/python3.12/site-packages/aiohue/v2/controllers/base.py", line 209, in _handle_event
    raise exc
  File "/usr/local/lib/python3.12/site-packages/aiohue/v2/controllers/base.py", line 200, in _handle_event
    cur_item = self._items[item_id] = dataclass_from_dict(
                                      ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohue/util.py", line 244, in dataclass_from_dict
    field.name: _parse_value(
                ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohue/util.py", line 202, in _parse_value
    raise KeyError(f"`{name}` of type `{value_type}` is required.")
KeyError: "`GroupedLight.owner` of type `<class 'aiohue.v2.models.resource.ResourceIdentifier'>` is required."

going back to 2024.7.2 fixed the issue.

i also found this same error-report on github but couldn’t make much sense of it tbh :frowning:

updated to 2024.8.2 today… alas, same problem :frowning:

nobody else experiencing this? :cry:

I too have been getting this same exact error in the traceback.

I redid my entire DiyHue setup and it worked fine for a moment and then at some point after it pulled the devices in, the error started showing in the logs again with the bridge failing to be setup.

thanks for the reply, good to know i am not alone with this^^

KeyError: "`GroupedLight.owner` of type `<class 'aiohue.v2.models.resource.ResourceIdentifier'>` is required."

this is the main culprit i suppose and on the github posted above the exact same error was supposedly fixed but for me it is the opposite: july version works just fine, august version does not

I have the same issue. Should we maybe add a new issue on github? The one above didn’t make me any wiser.

yea me neither… new github issue seems like a good idea but i don’t have the time atm

I hope I’m in the right place (newbie alert!) to ask this; but I have been unable to install the Phillips Hue integration on my new HA Green.

HA did not discover the Hue bridge on first installation, and when I tried to manually install it, I i just get the message ‘Failed to connect’ (using the device name) or ‘Unknown error occurred’ (if I use the IP address).

The Hue bridge works fine and I can control all my lights via HomeKit using it; so I know it’s not the bridge.

Any suggestions for getting it integrated into HA?

Same:

New Install did not find my Hue (HABridge) automatically.
Tried to manually add it, No Joy
Tried with http: in front, No Joy
Added Port, No Joy