State tax filing

You can deduct extra costs associated with installing the solar panels, but not the entire cost of the renovation.  For example, if 2x6 rafters are acceptable to code in your area but you need to upgrade to 2x8 to carry the weight of the solar, then the extra cost of the upgrade is includable as a solar cost for the credit.