Looking for maximum refund

Since 4/2022, I currently live in Tennessee I moved here for my job at Amazon. I do own my home in WI and have a rental property there too.  I pay rent in TN and  I get income from the rental in WI and have deductions for both as I did rent out my home from September 2022 thru March 2023 and had to evict that tenant and do massive repairs to my home due to damages and eviction expenses created by tenant.  I am trying to figure out how to do my taxes this year.  I plan to move back to WI in May of this year.  Though I dont have state tax in TN, I know I do a WI return but need to figure out how to enter the income and deductions on my federal  from the rental to maximize my return; or do I just do that on as income earned in other state on the WI state return and just use my job on my federal....