Add a method of replacing devices

When adding a new device it would be cool to override the old device and or have the option to delete the old ones from your devices and entities. For example, I get a new phone but I cant just integrate it directly to my automations unless I delete or rename my old phones entities first. Another example would be if you change our your light switches from different brands you have to currently modify entity names and or automations