Deductions & credits

I did not want to rent out the whole house, just need someone to stay instead of being vacant while on sale.

Thnks...