The energy is in a different form which won't necessarily raise the temperature of the earth as much as the sunlight hitting the earth would have. Not to mention the hydrocarbon based energy sources replaced by the clean electricity wouldn't be contributing further damage to the environment.