So I sold a rental property that was part of a 1031 exchange in 2023. I would like to deduct my mortgage interest, HOA fees and county taxes accumulated during the year up until the sale. I don't think these are selling expenses, so how do I deduct these? If I try and do this under Schedule E, it says that I shouldn't create a record for a rental that didn't get rented out (it was vacant for the year up until the time it was sold), and I don't think I should treat this property as a second home. Or should I?