The temp switch triggers at around 240-245, when you shut the car down, it heat soaks and triggers the light when you start it. Then the coolant circulates through the system and cools down, light goes off. I'd try the temp switch replacement first...they do go bad.