Climat, Loi sur le CO2 et photovoltaïque