state residency

I moved to a new state in mid 2020 and established residency only for about 110 days, then moved back to the previous state. How do I document this move? I had state taxes taken out (even though I still worked in the previous state which was Texas and has no state income tax) for a few months, but at the beginning and end of the year I was still a resident of Texas.

 

I bought a house in the new state when I moved there, that I have now converted to a rental (but no rental income until early 2021).