So, something is strange here. My Philips Hue integration is acting up - not initialising and losing info about some lights and things. e.g. some lights have the following:
Device info
Hue ambiance spot (LTG002)
by Signify Netherlands B.V.
Connected via Philips hue
Firmware: 1.101.8
And some are unknown. I also have 41 devices connected to 1 hue hub
I recently added a SkyConnect USB to the system, tho it’s running on channel 15 and the hue is on 11 and I have the SkyConnect about 2 feet away from the hub, and also changed the Hue hub over to a static IP rather than dhcp. Any ideas to get me going here?
Debug log:
2023-02-07 08:05:48.128 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Hue Bridge 0017882a3069 for hue
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/hue/__init__.py", line 22, in async_setup_entry
if not await bridge.async_initialize_bridge():
File "/usr/src/homeassistant/homeassistant/components/hue/bridge.py", line 109, in async_initialize_bridge
await async_setup_devices(self)
File "/usr/src/homeassistant/homeassistant/components/hue/v2/device.py", line 88, in async_setup_devices
dev_reg.async_remove_device(device.id)
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 574, in async_remove_device
device = self.devices.pop(device_id)
File "/usr/local/lib/python3.10/_collections_abc.py", line 963, in pop
del self[key]
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 272, in __delitem__
del self._connections[connection]
KeyError: ('mac', '00:17:88:01:02:33:6b:56')
2023-02-07 08:05:48.164 DEBUG (MainThread) [aiohue.v2[10.1.1.203].events] Connected to EventStream
2023-02-07 08:05:48.194 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.office_desk_lamp or it is/they are currently not available
2023-02-07 08:05:51.512 DEBUG (MainThread) [aiohue.v2[10.1.1.203].events] Disconnected from EventStream - Reconnect will be attempted in 2 seconds
2023-02-07 08:05:53.611 DEBUG (MainThread) [aiohue.v2[10.1.1.203].events] Connected to EventStream
2023-02-07 08:05:58.152 ERROR (MainThread) [homeassistant.helpers.device_registry] Unexpected exception from <function async_setup_cleanup.<locals>.cleanup at 0x7f3f5051c790>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/debounce.py", line 109, in _handle_timer_finish
await task
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 873, in cleanup
async_cleanup(hass, dev_reg, ent_reg)
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 849, in async_cleanup
dev_reg.async_remove_device(dev_id)
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 574, in async_remove_device
device = self.devices.pop(device_id)
File "/usr/local/lib/python3.10/_collections_abc.py", line 963, in pop
del self[key]
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 272, in __delitem__
del self._connections[connection]
KeyError: ('mac', '00:17:88:01:10:48:5d:4f')