It seems you have a TMP36 temperature sensor, based on the printing & what you do in your sketch.
As you connected it the wrong way around before, with the sensor overheating, you may have killed it. At best your sensor can not be relied upon to work properly. Get another one, make sure that one works (and with it the rest of your setup), then you can try if the old one still works.