Deleting Imported Unused Devices

When I import a Piston and do not use all the devices, the remaining unused devices are shown as “{:xxxx4:}”. Is there a way to delete these unused devices?

You can edit that particular line… then put a check next to a similar device, and then immediately uncheck it, and then save. Voilà