Tempature gage only works periodically. I had the ignition coil replaced. on 2001 Pontiac Firebird

It worked when I bought the car then quit. Replaced the ig coil and it worked for awhile but now only works when it wants to. Seems like when I turn on the a/c it will work and quit again a few days later.

Asked by for the 2001 Pontiac Firebird
check your cts ,it could be faulty