Skip to content

Rename entities in place on an entity id change - #24

Merged
Varitras merged 1 commit into
mainfrom
feature/entity-id-changed-in-place
Oct 28, 2026
Merged

Varitras merged 1 commit into
mainfrom
feature/entity-id-changed-in-place

Conversation

@Varitras

Copy link
Copy Markdown
Owner

From Home Assistant 2026.11 a changed entity id moves the entity in place.
An entity class from outside Home Assistant that overrides an add or remove
method without async_entity_id_changed is still removed and added again,
until that fallback goes in 2027.11. Three of ours did; none of them keys
anything on the entity id, so each gets the hook with nothing to move.

A guard test applies Home Assistant's rule to every entity class of the
package, so a class added later cannot miss it.

From Home Assistant 2026.11 an entity whose class overrides an add
method without async_entity_id_changed is still removed and added
again; nothing of ours is keyed on the entity id.
@Varitras
Varitras merged commit 6200950 into main Oct 28, 2026
10 checks passed
@Varitras
Varitras deleted the feature/entity-id-changed-in-place branch October 28, 2026 19:41
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