Bear in mind this cuts both ways. Replacing a gas heater (which directly produces thermal energy from chemical reaction) with an electric heater now means this energy has to be produced, transmitted, and run through a heating element. If this heater is being run at night, it likely has to go through an energy storage system, too.