Skip to content

Stabilize BPS lifecycle, entity IDs, and tracker icon support#29

Merged
Hogster merged 19 commits intomainfrom
fix/issue-27-token-exposure
Apr 30, 2026
Merged

Stabilize BPS lifecycle, entity IDs, and tracker icon support#29
Hogster merged 19 commits intomainfrom
fix/issue-27-token-exposure

Conversation

@Hogster
Copy link
Copy Markdown
Owner

@Hogster Hogster commented Apr 30, 2026

Summary

  • harden integration lifecycle and cleanup behavior to avoid stale/duplicated entities, unavailable sensors, and reload instability
  • fix sensor ID normalization and legacy migration paths so BPS entities remain stable and visible in Home Assistant
  • add zone improvements (duplicate zone names via internal IDs) and custom tracker icon support with upload + per-tracker persistence

Test plan

  • Reproduced and fixed duplicate/legacy entity ID behavior during install/reload
  • Verified entities are available in integration view and states update correctly
  • Verified zone matching improvements and duplicate zone names on the same floor
  • Verified custom tracker icon upload/selection and persistence after save/reload
  • Verified no new local uncommitted changes after commits

Made with Cursor

Erik Högström added 19 commits April 28, 2026 15:37
Prevent sensor/state desync during setup and unload, and migrate duplicated legacy sensor IDs to stable entity IDs while keeping tracker updates bound to registered SensorEntity instances.
Exclude Cursor context cache and .DS_Store artifacts from version control to keep the repository clean.
Store a generated zone_id for each zone so duplicate display names are supported while create, remove, and render flows still target the correct zone.
Allow uploading custom icon files, selecting an icon per tracker in the frontend, and persisting tracker-to-icon mappings for rendering in both realtime and non-realtime tracking.
@Hogster Hogster merged commit d8a8c61 into main Apr 30, 2026
2 of 4 checks passed
@Hogster Hogster deleted the fix/issue-27-token-exposure branch April 30, 2026 12:10
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