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."
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