Meta-optics integrated with light sources has gained significant attention. However, most focused on the efficiency of metasurfaces themselves, rather than the efficiency of integration. To design highly efficient beam deflection, we develop a scheme of homo-metagrating, involving the same material for meta-atoms, substrate, and top layer of the laser, to achieve near-unity power from light-emitting to metasurfaces. We utilize three degrees of freedom: overall add-on phase, parameters of meta-atoms in a period, and lattice arrangement. The overall efficiency of homo-metagratings is higher than that of hetero-metagratings. We believe our approach is capable of being implemented in various ultracompact optic systems.