Skip to content

Scope entity unique IDs to the config entry - #31

Open
lackas wants to merge 2 commits into
Nailik:mainfrom
lackas:fix/per-device-unique-ids
Open

lackas wants to merge 2 commits into
Nailik:mainfrom
lackas:fix/per-device-unique-ids

Conversation

@lackas

@lackas lackas commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Entity unique IDs were the bare key, for example co2_remaining, so adding a second unit moved all entities of the first one over to the new config entry. Unique IDs are now prefixed with the config entry's unique ID (the MAC address, or the dev_id for random MAC devices), and existing entities are migrated on setup, keeping their entity IDs and history.

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