Electricity is a highly refined form of energy. This is why it should be reserved for powering electronics, IT, and LED lamps for low-energy lighting.
Heating and cooling jobs should definitely be used to different sources: direct solar power like CSP (concentrating solar power) or solar thermal (solar hot water) come to mind. Cutting down on electricity consumption just for heating and cooling alone saves an energy amount equal to six nuclear power stations nationally. This is not a “massaging” of the numbers but direct heat is overall more efficient for those less-refined applications.