Skip to content

Fix unique ID collision and via_device race conditionFix unique ID collision and via_device race condition#119

Closed
garethmo wants to merge 2 commits into
meshtastic:mainfrom
garethmo:fix/unique-id-and-via-device
Closed

Fix unique ID collision and via_device race conditionFix unique ID collision and via_device race condition#119
garethmo wants to merge 2 commits into
meshtastic:mainfrom
garethmo:fix/unique-id-and-via-device

Conversation

@garethmo
Copy link
Copy Markdown

Fixes #114 and #61

Changes

  • Unique ID Collision: Modified helpers.py to check against unique_id instead of entity_id when filtering new entities.
  • Via Device Error: Modified __init__.py to use a two-pass approach for device setup, ensuring all devices exist before linking them with via_device.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@garethmo garethmo closed this Nov 23, 2025
@garethmo garethmo deleted the fix/unique-id-and-via-device branch November 23, 2025 12:33
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.

2 participants