ugly or not, if those things are not leased and will be paid off with the closing funds, then they would add value to a buyer depending upon the age and condition of the panels, even more if there was a battery system as well. Issues arise when they are leased, buyers don't want to get roped into another persons lease. If they are paid off, in good condition and still have many years left on the life expectancy then it will be viewed as free electricity even if it is padded into the sales price.