Use of `friendly_name` overrides default `device_name` in entity naming

The templates use and require friendly_name to be defined, but this changes the entity names in HA, where the default is to use the device_name that is by definition unique across instances.

E.g. multiple devices with different device_names using the same friendly_name will have similarly named entities, requiring HA to make them unique by means of appending numeric values.

It seems that an alternate (maybe more common/standard) approach would be to use the comment field to describe the device, and not use friendly_name as it changes entity naming?

This is an issue with ESPHome, not with Konnected. I opened up a discussion about this on github about 2 years ago, and the discussion is still going on, but it has not been solved yet.

You might want to go there and vote for it or state your case in the discussion to try to call more attention to it.

1 Like