A cannabis farm was uncovered after emergency services responded to a house fire in Leeds.