Energy for AC is easy - AC is needed in summer when there is available energy from sun, just waiting to be converted to electricity by photovoltaics. Energy for winter heating is much harder issue.
1) Most homes here do not have built in AC. People use the portable ones. Heat pumps are a thing too. 2) We have a ridiculous amount of hydro-power available, and some of that being the cheapest around.