Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Update IDs for rename node/value #24646
This needs some adjustment in the front end to make use of it, which will be in a separate PR.
Currently each node is a device, and each value is an entity. The entity IDs and names are based off the node and value names, and have defaults based on the device hardware which is not always useful.
If the code does not interact with devices:
I've changed how this works so that the devices and entities get renamed, rather than just removing and re-adding.
This will need a small change to the device registry though, you can currently update the name_by_user field, but not the default name.