Fixed the temperaturetaker part; test it with the sensor connected