Skip to content

Log unique ID conflicts#683

Draft
TheJulianJES wants to merge 2 commits intozigpy:devfrom
TheJulianJES:tjj/unique_id_conflict_logging
Draft

Log unique ID conflicts#683
TheJulianJES wants to merge 2 commits intozigpy:devfrom
TheJulianJES:tjj/unique_id_conflict_logging

Conversation

@TheJulianJES
Copy link
Contributor

This is experimental. It prints all unique ID conflicts (four times...)

These are existing ones:

zha.zigbee.device[69476] WARNING Entity unique_id conflict on device ab:cd:ef:12:63:c6:80:fe for (<Platform.UPDATE: 'update'>, 'ab:cd:ef:12:63:c6:80:fe-1-25-firmware_update'): keeping zha.application.platforms.update.FirmwareUpdateEntity (endpoint=1, cluster_handlers=['ota']), dropping zha.application.platforms.update.FirmwareUpdateServerEntity (endpoint=1, cluster_handlers=['ota'])
zha.zigbee.device[69476] WARNING Entity unique_id conflict on device 00:15:8d:00:02:af:97:27 for (<Platform.UPDATE: 'update'>, '00:15:8d:00:02:af:97:27-1-25-firmware_update'): keeping zha.application.platforms.update.FirmwareUpdateEntity (endpoint=1, cluster_handlers=['ota']), dropping zha.application.platforms.update.FirmwareUpdateServerEntity (endpoint=1, cluster_handlers=['ota'])
zha.zigbee.device[69476] WARNING Entity unique_id conflict on device 54:ef:44:10:00:14:f3:e7 for (<Platform.UPDATE: 'update'>, '54:ef:44:10:00:14:f3:e7-1-25-firmware_update'): keeping zha.application.platforms.update.FirmwareUpdateEntity (endpoint=1, cluster_handlers=['ota']), dropping zha.application.platforms.update.FirmwareUpdateServerEntity (endpoint=1, cluster_handlers=['ota'])
zha.zigbee.device[69476] WARNING Entity unique_id conflict on device 00:15:8d:00:02:54:cb:fa for (<Platform.UPDATE: 'update'>, '00:15:8d:00:02:54:cb:fa-1-25-firmware_update'): keeping zha.application.platforms.update.FirmwareUpdateEntity (endpoint=1, cluster_handlers=['ota']), dropping zha.application.platforms.update.FirmwareUpdateServerEntity (endpoint=1, cluster_handlers=['ota'])
zha.zigbee.device[69476] WARNING Entity unique_id conflict on device ab:cd:ef:12:7b:7c:3f:a7 for (<Platform.UPDATE: 'update'>, 'ab:cd:ef:12:7b:7c:3f:a7-232-25-firmware_update'): keeping zha.application.platforms.update.FirmwareUpdateEntity (endpoint=232, cluster_handlers=['ota']), dropping zha.application.platforms.update.FirmwareUpdateServerEntity (endpoint=232, cluster_handlers=['ota'])
zha.zigbee.device[69476] WARNING Entity unique_id conflict on device ab:cd:ef:12:c1:6d:31:24 for (<Platform.UPDATE: 'update'>, 'ab:cd:ef:12:c1:6d:31:24-1-25-firmware_update'): keeping zha.application.platforms.update.FirmwareUpdateEntity (endpoint=1, cluster_handlers=['ota']), dropping zha.application.platforms.update.FirmwareUpdateServerEntity (endpoint=1, cluster_handlers=['ota'])
zha.zigbee.device[69476] WARNING Entity unique_id conflict on device ab:cd:ef:12:35:1a:bf:9e for (<Platform.UPDATE: 'update'>, 'ab:cd:ef:12:35:1a:bf:9e-1-25-firmware_update'): keeping zha.application.platforms.update.FirmwareUpdateEntity (endpoint=1, cluster_handlers=['ota']), dropping zha.application.platforms.update.FirmwareUpdateServerEntity (endpoint=1, cluster_handlers=['ota'])

@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

❌ Patch coverage is 90.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.50%. Comparing base (229df22) to head (0aa985b).
⚠️ Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
zha/zigbee/device.py 90.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #683      +/-   ##
==========================================
- Coverage   97.51%   97.50%   -0.02%     
==========================================
  Files          62       62              
  Lines       10949    10969      +20     
==========================================
+ Hits        10677    10695      +18     
- Misses        272      274       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant