Name of entity doubles in entity-card for Shelly devices

I’m not sure of this is a bug or expected behavior, but it only happens with Shelly:

Shelly devices have a device name and a switch name, I use the same name for both:


The configurations seems to be ok, also the name is stated there only one time:

But if I use the entity in an entity card, the name is doubles:


image

As I used two different names for the Laptop for test issues, I see the name of the switch is used, not the device name. Also here the name is only 1x in the entity-string, where you can see above, that the entity-string is also doubled (automatic creation, nothing is done manual on the entity names). But for the GUI name, the entity-string should not matter…

Of course, I could easily solve this, by giving all switches manual names, but I want to understand what and why happens here!