If I own a duplex and live in 67% of the space (and rent out the rest), can I get the residential solar power deduction for the portion of the house that I live in?

We own our home, which is a 2-flat.  For all accounting purposes, we rent out 33% of the building as a rental property. We are interested in installing solar panels this year and getting the 26% rebate, but I've found that it doesn't apply to rental properties.  Am I correct in assuming that I can claim a portion of the panels?
i.e. If I pay 10k for panes, only $6,667 apply to my residence. 26% of that amount would come out to a $1733.42 refund off of our 2022 taxes.  Is this accurate?