Police found £12,000 worth of cannabis in shed within a shed, a court heard.
Officers discovered 20 cannabis plants and a sophisticated growing set-up at Newstead Avenue, Outwood, on December 4 last year.
The walls of the ‘second shed’ were lined with foil and there was a filter system going into the ground to try and disguise the pungent smell.
Initially home owner Gary Austin, 52, told officers: “I grow it because my kids use it.
“I don’t want them involved with drug dealers.
“I use it once a year.”
But Austin later changed his account, claiming he didn’t give the drug to his children.
Austin, a bin man, said he took the cannabis in tea to help with back pain.
Austin admitted producing cannabis at his home between August 28 and December 4 2013.
Prosecutor Mark Haigh told city magistrates the estimated street value of the cannabis was £12,542.
But Mike Devlin, mitigating, said this was based on small single deals rather than buying in bulk.
The court heard somebody told Austin that cannabis might help with his back trouble.
He bought a book called the “Cannabis Bible”, which explained the processes of growing the plant. He then set it up in his shed.
Magistrate Joy Water, committed the case to Leeds Crown Court for sentence next month.
She said: “We do feel it was a sophisticated operation and it did yield a significant yield of cannabis and you did have a significant role in it.
“Looking at the photographs, it was very organised.”