Sensor to detect if defrost is necessary