Prior military. Rent/Live in Texas, own a home in PA. Switch from PA to TX residency in June when leaving military. How do i handle my house for tax purposes?

Need to know if all income earned on house in 2016 is taxable in PA? Or only part since i changed residency? My military pay is nontaxable in PA and my new job is in Texas with no state tax.  House is the only issue