Add a way to bulk name entities with their areas at the start

I think that there should be a way in the entities tab to select multiple entities and append text at the start, for example to select all the entities in a certain area and append the name of the area to the start of the id. light.led_strip becomes light.bedroom_led_strip. This would help to organize entities and improve searches based on area.

Home Assistant provides Areas for organizing entities by location in the home. You can easily add an entity or device to an Area, or move an entity from one area to another, plus there’s an Area Card for displaying what is in each area, and there are templating functions to permit programmatically selecting entities by area.

The use of Areas is more flexible and convenient than hard-coding the entity’s location into its entity_id (to be precise, its object_id). For example, if light.bedroom_tablelamp is moved to the living room, its object_id must be changed to light.living_room_tablelamp. You must also update any automation, script, scene, Template Sensor, etc that referenced light.bedroom_tablelamp (otherwise it will fail to access the renamed entity). None of this maintenance is needed with Areas.

Ok, thank you. I wasn’t too sure exactly how it would workbut you have helped.

1 Like