Update DeviceCommand to report the device instead of the device family.
Make device types constants.
Warn about duplication
Add documentation.