BMW e46 temperature display (doesn't get warm)?

Hello everyone, I have a problem with my BMW E46 316i. The temperature gauge is acting up and indicates that the engine isn't warming up properly. However, the interior heater works perfectly and heats up. I've already replaced the coolant sensor, but that didn't solve the problem. Does anyone have any idea what else could…