It was easier to fix than I expected. I replaced the temperature sensor by removing the old one (there was only one screw), gently pulling out the cable until I found the connector, unconnected it and then attached the new one. I then gently reinserted the cable and screwed the new sensor back on. It's been working fine since.