After upgrading to 2025.05, all names visible in the UI of my ESPHome devices have changed (not completely consistently). The name now includes the device name, which was not the case before. I can, of course, override it in the UI, but this is quite tedious. See the screenshot below:
Strangely enough, the name shown in the device itself has not changed. How can I get the old behavior back, i.e. remove the prefix “Lightcontrol-Eg” from my names?
The reason this is happening is this pr. A possible workaround is adding the following to your esphome yaml config
esphome:
friendly_name: " "
so that friendly_name is not empty (a.k.a. false) but the space gets trimmed out of almost everything in ha (entity ids and entity names most notably).
It has some side effects (esphome devices in the UI get named after some random entity they provide instead of using the esphome name, area names are not correctly removed from matching entities in the new style area dashboard etc).
Consider this a temporary hack that may stop working at any time, and let’s ask the devs for a switch that doesn’t prepend the friendly_name to entity names (per device).
I have esphome devices with dozens of unrelated entities, where prepending the esphome device name on entities will never be appropriate.