If I had rented out a room in the previous years, and converted it to a full rental last year, how do I determine the cost basis/depreciation?

I purchased the house in 2021for personal use. In 2022, 2023 we rented out a room to our friend. Our CPA helped claim some depreciation in those years. In 2024, we moved out and converted it to a fully rental house. How do we determine the cost basic and deprecation in the situation? Should I refer to the previous years tax return and sum the deprecation up? Is it still qualified to be a first year rental property?