@Danny627 , as @Debbie1192 , states “applies to your main home (the one you live in most of the time)…”. See below for the paragraph found in the Inflation Act Guidelines:
“You can claim either the Energy Efficient Home Improvement Credit or the Residential Clean Energy Credit for the year when you make qualifying improvements.
Homeowners who improve their primary residence will find the most opportunities to claim a credit for qualifying expenses. Renters may also be able to claim credits, as well as owners of second homes used as residences.
The credits are never available for improvements made to homes that you don't use as a residence.”
Best—