We are going to rent our second home for three months, and on occasion afterwards. Does the property become 100% a rental property, or only the % of days we rent it?

That is, if we rent 6 months a year, and use it the other 6, is it 50% a rental or 100% a rental?