WTH when I rename an entity, most of the time it's history is lost?

WTH when I rename an entity, most of the time it’s history is lost?

Most of the time?

It should be all of the time.

You are creating a new entity from the old one.

Well, some integrations like rfxcom can migrate old devices to new ones, but only if it’s exactly the same device type. It should be handled by HA to always work.

This is probably true from an implementation perspective, but it’s not at all intuitive to the user.

I can think of a handful of ways to implement something like this. The simplest one is by giving entities an immutable UUID in addition to the “friendly name”, storing references to them using the UUID, and transforming it into the friendly name in the UI layer. I think this is more or less how devices currently work.

1 Like
1 Like
4 Likes

Can be marked as solved with 2023.4

1 Like