Skip to content

revert: remove display_id (added in #106, no longer needed) - #110

Merged
tomer-w merged 1 commit into
tomer-w:mainfrom
pos-ei-don:revert-display-id
Jul 7, 2026
Merged

revert: remove display_id (added in #106, no longer needed)#110
tomer-w merged 1 commit into
tomer-w:mainfrom
pos-ei-don:revert-display-id

Conversation

@pos-ei-don

Copy link
Copy Markdown
Contributor

The display_id property on ParsedTopic and Metric was introduced in #106 to support de-duplicated entity_ids in the integration's complex naming path.

The integration PR that consumed it (ha-victron-mqtt#448) was redesigned: instead of using display_id as a cleaner entity_id suggestion, it now simply drops the explicit self.entity_id = ... assignment so HA derives entity_ids from names — the same way simple naming already works.

With no consumer, display_id is unused. Reverting as requested in the ha-victron-mqtt#448 review thread.

Changes: pure deletion, no logic changed — removes display_id from ParsedTopic (data_classes.py), Metric.__init__ + property (metric.py), and the two call sites in device.py.

The display_id property on ParsedTopic and Metric was introduced to
support de-duplicated entity_ids in ha-victron-mqtt's complex naming
path. The integration PR that consumed it was redesigned to simply drop
the explicit self.entity_id assignment instead, so HA derives entity_ids
from names — making display_id unused.

Reverts the three-file change from tomer-w#106.
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

✅ Static Tests passed

============================= 194 passed in 25.72s =============================

@tomer-w
tomer-w merged commit 1706bbd into tomer-w:main Jul 7, 2026
3 checks passed
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