Put a debug nod on the output of the ds18b20 sensor node and see what it reads when you remove the sensor.