Naming esphome entities in HA

Hi, I have a question that probably has a pretty obvious answer but I can’t figure it out. The question is about how to name esphome entities in HA. I have an esphome set up with a ld2410 and my problem is the way to name the entity in home assistant as it repeats twice the entity name.
For example any entity (it happens with all of them) is sensor.esp_dummy_esp_dummy_connected_bssid. As you can see “esp_dummy” is repeated twice and my intention is that sensor.esp_dummy_connected_bssid only appears once.

In esphome i have this

substitutions:
  devicename: esp-dummy
...
    bssid:
      name: ${devicename}_Connected_BSSID

I don’t know where you get that the chain is repeated twice at the HA level.

Regards

The friendly name of the esp is always prepended to all entities, so you don’t need to do it yourself. Don’t give it a friendly name. Or, better yet, stop using the subsitution.

Amen! People use substitution way to excessively anyways. Theres an argument that people shouldnt even use optional configurations untill they learn the basics first anyway. No need to unnecessarily complicate things before someone even understands the basics.

When you have several devices with the same configuration, being able to use substitutions in the name simplifies management. Removing the friendly_name solves the problem. Thanks.