Solar energy provides all the electricity for my house, and has done so since 2003. Not a single electricity bill since that time.
I installed 48 panels on my roof and I run the air conditioning, washing machine, electric dryer, dishwasher, and everything else electric from the roof panels. We do have gas heating and a gas range. I have a modern thermostat and I set the low point to 72 degrees and the high point to 76 degrees and let the system figure out how to keep the house in that range. I leave it set that way all through the year.
In the the year before installing the panels I spent $2800 on electricity, and prices have gone up considerably since then. The costs of the installation (after California state subsidy and tax incentives) was $31,000 so I've fully recovered the installations costs. I expect the panels to continue producing all the electricity I need for the next 20 to 30 years.