Code

When moving or renaming devices, check whether they are in use by a