WTH can't bulk rename friendly_names

There already is a topic on this regarding the bulk renaming of entity_ids here.

I know you can active some entity-renaming by renaming the device (also here) but I have a different use case:

Integration is adding new device (Shelly Plug 123) with 5 entities:

  • switch.shelly_plug_123 → friendly_name: Shelly Plug 123
  • sensor.shelly_plug_123_temperature → friendly_name: Shelly Plug 123 Temperature
  • sensor.shelly_plug_123_power → friendly_name: Shelly Plug 123 Power
  • sensor.shelly_plug_123_energy → friendly_name: Shelly Plug 123 Energy
  • sensor.shelly_plug_123_voltage → friendly_name: Shelly Plug 123 Voltage

Renaming the device to Christmas Tree will result in this:

  • switch.christmas_tree → friendly_name: Christmas Tree
  • sensor.christmas_tree_temperature → friendly_name: Christmas Tree Temperature
  • sensor.christmas_tree_power → friendly_name: Christmas Tree Power
  • sensor.christmas_tree_energy → friendly_name: Christmas Tree Energy
  • sensor.christmas_tree_voltage → friendly_name: Christmas Tree Voltage

Which is nice. However: While my parents are able to use home assistant they don’t speak English at all. So I have to change the part of the entity name that is not determined by the device name like this:

  • switch.weihnachtsbaum → friendly_name: Weihnachtsbaum
  • sensor.weihnachtsbaum_temperatur → friendly_name: Weihnachtsbaum Temperatur
  • sensor.weihnachtsbaum_leistung → friendly_name: Weihnachtsbaum Leistung
  • sensor.weihnachtsbaum_stromzähler → friendly_name: Weihnachtsbaum Stromzähler
  • sensor.weihnachtsbaum_spannung → friendly_name: Weihnachtsbaum Spannung

AFAIK this is not a localisation issue and if it is, it isn’t working properly for almost any integration.

Using this (not yet merged) pull request from this project is the only way that worked for me so far.

Right.

I also saw this one: GitHub - Coenenp/homeassistant-entity-renamer: HomeAssistant Entity Renamer. A script to bulk rename homeassistant entities using regular expressions and without losing their history.
Which adds a UI to the project IIRC. I wasn’t able to get it working quickly and ran out of time to mess around with it and didn’t get back to it.