When you change a device name, you get asked if you want to update the IDs of all the entities attached to that device:
It should be great if this dialog showed you what the name is being changed from, so that it’s clear what change is actually being made to the entities.
While we’re at it, it would also be nice to have a Cancel button if I decide that I don’t want to rename it at all.