In 2018, the state of California passed a law requiring all new houses to be built with solar panels after 2020. Now you might think that sounds both extreme and unfair, considering it will raise home prices by as much as $12,000. But it’s a lot more sensible than you think.