Is there an add-on (or method) to edit entities and devices inline in a table? at least some of the fields such as the name and area?
For cases where there are a lot of objects to rename, but they are not being renamed with a common pattern, so the CLI option isn’t probably as useful, it would be nice to just be able to edit some of the data right on the screen listing them.
Hi, and welcome!
First, are you new to HA or do you know it well? This will help to know what level of advice to give. As you’ve recently joined the Forum, I’m assuming new to HA but apollogies if I’m wrong.
Ok, so, I have added my power monitoring system (Brultech GEM) and network management (Unifi) to HA, and now have several hundred new entities in the system. But many of those have names that are not very useful. (Such as “GEM 1110733 channel 1 energy” or just showing a MAC address.). I know I can go into each one and edit the friendly name, but it would be nice to be able to just go down the table and edit the names in the cell like it was a spreadsheet. (Hopefully other attributes as well?).
I looked around and found suggestions for using the CLI to make mass changes, but in this case, there isn’t a pattern for the renamed entities to simply do a scripted rename.
Two places where entities are listed but neither offers “in place” editing of their friendly_name.
Settings → Devices & Services → Entities
Developer tools → States
Full Disclosure
There are JSON files in a hidden .storage directory containing a lot of configuration data. One of the files contains the details of all entities (assuming they have a unique_id) including their friendly_name. The files are hidden because they’re not meant to be manually edited (especially not while Home Assistant is running and not without making a copy of the file). One tiny mistake in the JSON syntax, or configuration logic, and Home Assistant will be corrupted and fail to start.
Thanks, and no, im not planning on mucking about in either the db or the hidden yaml/json files, but was hoping someone had done an add-on that allowed something like this.