Police said McLachlan had been stealing power for about two years, which coincided with a change in the electricity provider to Tiny Mighty Power in 2011.
On May 29, police executed a search warrant at the Wakelin St house and discovered the grow room, which held 32 plants, from seedlings through to a heavily budded mature plant.
Writing on a wall detailed dates and types of cannabis, indicating the grow operation had been in place for about three years.
Tiny Mighty Power estimated he had stolen about $700 worth of electricity in that time.
Defence lawyer Ian Hard said while McLachlan did not dispute the charges, he disputed the length of time he had been stealing electricity and the length of the operation itself.
"He doesn't agree that he's been using the power for two years," Mr Hard said. Despite this, McLachlan was prepared to pay reparations.
Judge Hastings ordered McLachlan to pay reparation of $700 to the electricity company and sentenced him to 160 hours of community work.