Deductions & credits

No ... this was not to buy, build or improve the home.  You bought a PV system you can move to a different property and it is not an improvement to the home ... it is like a car ... when you sell the home it can go with you.