We moved to California in Feb 2022 and sold a Florida rental house (bought Jul 2017) in June 2023. Is depreciation recapture due to CA for the full ownership time frame?

Personally I would think depreciation recapture is due only for 2022, since that was the first time for us to file taxes in California. Any thoughts and feedback would be greatly appreciated!