A man tending a large cannabis crop in a former American steak restaurant is to be sentenced for his role later this month.