Investors & landlords

No, we didn’t sell our home just converted it into a single family rental property and that was about 8 months ago. Basically we have lived in the property 2 of the last 5 years so shouldn’t have to pay capital gains from what I have read, but just trying to confirm that true.