Property Tax deduction on Schedule E

I paid property taxes in fall 2023 that were for the levy period of july 2023 - June 2024.  I converted the property from a second home to a short term rental (schedule E property) on January 1, 2024.  Can I take a prorated deduction on Schedule E for the fact that seven months of this payment were for 2024.   Do I have to continue to prorate these amounts each year or can I take the full amount off in the year paid from now on since I'm using cash-basis accounting.