Set sensor as HiTechnic Magnet.
Configure the sensor on the specified port as a HiTechnic Magnet sensor.