Repairing a computerized sewing machine (BERNINA ACTIVA 145), I came across this guy (yellow). Looks like a capacitor but not sure. And no idea of its value, whatever it is. Please help identify.
Also I measured an (in-circuit) resistance of 2.8 Ohms between its two legs. If it is a capacitor, does this reading look suspicious? Thanks!