-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
Description
The problem
When I import my 2 EZVIZ cameras (Model CB5) using EZVIZ integration, both cameras are merged into a single device. Controls for both cameras are duplicated with the same name inside this device.
After some more analysis, I noticed that the issue is related to ezviz api which is returning empty mac address for both cameras. As a result they share the same empty connection identifier and are added as a same device in device registry.
core/homeassistant/helpers/device_registry.py
Lines 680 to 689 in 724a7b0
if identifiers: | |
for identifier in identifiers: | |
if identifier in self._identifiers: | |
return self._identifiers[identifier] | |
if not connections: | |
return None | |
for connection in _normalize_connections(connections): | |
if connection in self._connections: | |
return self._connections[connection] | |
return None |
What version of Home Assistant Core has the issue?
core-2025.9.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
ezviz
Link to integration documentation on our website
https://www.home-assistant.io/integrations/ezviz/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
This issue may be related to other closed issue: #97894 (EZVIZ integration mixing 2 cameras into the same device when they are the same model)