If a house is not rented out all year, vacant the entire year, and listed for sale, does it count as a rental or a second home?

It was rented out last year, but I had no tenants this year and made improvements to make it more marketable.