Obviously, the ROI is going to be better if you pay cash, not finance with a home loan.

Not necessarily, if you have the cash in other investment vehicles you can use leverage for the solar investment and use the mortgage tax deduction to reduce the cost of borrowing. Especially if your ongoing investments are taxed at a capital gains tax rate for the most part. Meanwhile you have offloaded the currency devaluation risk to the lender, at a very low rate.

True, but that is a more complex financial arrangement than most homeowners would contemplate. I was talking about a straight purchase consideration. Obviously, the more financially sophisticated and well-heeled one is, the more options there are, and the more opportunity there is to shift the risk onto another party...