Mid term rental

Can you claim your home as a rental for the full year if you do a mid term rental?

 

if I started November of this month would whole 2025 count as a rental and then an I claim necessary upgrades I did?