How the smart grid clamps down on climate change