Analysis: As Labor focused on opportunities for working people in the transition to renewables, the Greens mounted a formidable on-the-ground campaign