Can I claim mortgage interest deduction on a state before I purchased the home?

During 2023 I lived in California for part of the year (rental) and then moved to NC where I purchased a home with a mortgage.

 

When filing my CA tax return in TurboTax, I see it is auto filling some amount of Mortgage interest deduction for California even though I never paid any part of the mortgage during the time I lived in CA (I was renting that entire time).

 

Is this correct? Or should I be changing the CA deduction amount to 0?