The key properties when using magnets in relays and sensors are the ability to magnetize and demagnetize the ferromagnetic material easily and offer magnetic stability at low and high temperatures. Careful selection is critical. Magnetic strength and magnet size are also key attributes.