No, even though you paid both years in 2023 you didn't have a rental until 2023. In 2022, the home was your primary residence.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"