Yes, exactly. The repulsion and attraction is between magnets, not the suspended diamagnetic material.It was achieved using two magnets and diamagnetic material to stabilize so it does have both repulsion and attraction and obtains an equilibrium without external energy.