I have a custom component which allows multiple entities per device. Currently it has a limitation of one entity of each type, and is using the same unique id for all entities tied to a device, with the entity type being the differentiating factor.
Now I want to expand it to allow multiple ids of the same type on a device, and to do this I have to add some extra identifying info to the device id.
I can do this as a breaking change, where the users will have to remove and re-add their devices, but if possible Iād like to handle the entity registry changes in async_migrate_entry
.
Is this possible? Are there any examples of other components that have done this?