discover: Implement device priorities