you can try bleeding it of air first, but if your fans still came on its the sensor, after market temp sensors have a real bad rep of being dead in the box new.
its a 2 signal sensor, one side to the pcm, the other to the dash gauge. pcm side is what tells the fans to come on.