Yes, the sale of the home after the installation of the qualified solar electric system does not disqualify you for the residential energy credit.
Take the steps below to enter your qualified solar costs:
I have a similar question. I bought my solar panel system in 2019 and cannot take advantage of the full 30% tax credit for this tax year.
I am thinking of selling my home in 2020, which leads me to believe that I cannot take advantage of the remaining 30% tax credit carry-over for the full year in 2020 since the home and the panels would change ownership to a new homeowner. Would this be the case? Can I still use the credit if I don't own the home for the whole year in 2020?