Open sabolcik opened 2 hours ago
Hey there @starkillerog, mind taking a look at this issue as it has been labeled with an integration (reolink
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
reolink documentation reolink source (message by IssueLinks)
The problem
The Reolink integration stopped working after upgrading to the latest HA Core.
What version of Home Assistant Core has the issue?
2024.11.2
What was the last working version of Home Assistant Core?
2024.11.1
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Reolink
Link to integration documentation on our website
https://www.home-assistant.io/integrations/reolink
Diagnostics information
Logger: homeassistant.config_entries Source: config_entries.py:635 First occurred: 10:50:12 PM (1 occurrences) Last logged: 10:50:12 PM
Error setting up entry Reolink DVR for reolink Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/reolink/init.py", line 188, in async_setup_entry migrate_entity_ids(hass, config_entry.entry_id, host) File "/usr/src/homeassistant/homeassistant/components/reolink/init.py", line 329, in migrate_entity_ids device_reg.async_update_device(device.id, new_identifiers=new_identifiers) File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 1030, in async_update_device new_values["identifiers"] = self._validate_identifiers( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 1136, in _validate_identifiers raise DeviceIdentifierCollisionError(identifiers, existing_device) homeassistant.helpers.device_registry.DeviceIdentifierCollisionError: Identifiers {('reolink', '95270006CYKIFPD7_952700063EV0HB09')} already registered with DeviceEntry(area_id='front_entry', config_entries={'7fb0f6a8aede79f7c38945eafa263509'}, configuration_url='https://192.168.86.93:443', connections=set(), created_at=datetime.datetime(1970, 1, 1, 0, 0, tzinfo=datetime.timezone.utc), disabled_by=None, entry_type=None, hw_version='DB_566128M5MP_P', id='aa9c02bcd9b339c8a6f70c61fb803b72', identifiers={('reolink', '95270006CYKIFPD7_952700063EV0HB09')}, labels=set(), manufacturer='Reolink', model='Reolink Video Doorbell PoE', model_id=None, modified_at=datetime.datetime(2024, 11, 16, 4, 37, 25, 71975, tzinfo=datetime.timezone.utc), name_by_user=None, name='Front Door', primary_config_entry='7fb0f6a8aede79f7c38945eafa263509', serial_number='952700063EV0HB09', suggested_area=None, sw_version='v3.0.0.2033_23041302', via_device_id='699008392e5c4c76cdad2af9b21e440c', is_new=False, _cache={'json_repr': b'{"area_id":"front_entry","configuration_url":"https://192.168.86.93:443","config_entries":["7fb0f6a8aede79f7c38945eafa263509"],"connections":[],"created_at":0.0,"disabled_by":null,"entry_type":null,"hw_version":"DB_566128M5MP_P","id":"aa9c02bcd9b339c8a6f70c61fb803b72","identifiers":[["reolink","95270006CYKIFPD7_952700063EV0HB09"]],"labels":[],"manufacturer":"Reolink","model":"Reolink Video Doorbell PoE","model_id":null,"modified_at":1731731845.071975,"name_by_user":null,"name":"Front Door","primary_config_entry":"7fb0f6a8aede79f7c38945eafa263509","serial_number":"952700063EV0HB09","sw_version":"v3.0.0.2033_23041302","via_device_id":"699008392e5c4c76cdad2af9b21e440c"}'})
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
I restored a backup to 11.1 and the integration worked again.