Lived in PA, worked in both NY and PA

I lived in PA for all of 2020. I worked in PA in Jan 2020. I worked remotely for a company located in NY from Feb 2020 - Dec 2020. Around June 2020, I pointed out to my payroll department that my paystubs said "New York" on them, even though I lived in PA. This prompted them to make an adjustment in their system, which resulted in my paystubs listing "Pennsylvania" on them, and I was refunded a few extra hundred dollars, which was explained to me as being the difference in state taxes between NY and PA. I have W2's from both companies, they both list "PA" in box 15 "State".

 

I'm unsure how to file this. I've gone through the PA and NY filing processes, and I'm left with being charged ~$60 in PA, and ~$4500 in NY. The NY company W2 shows that I paid ~$3000 in box 17 "State income tax". I assume my state refund/payment would be close to $0. How do I file this with TurboTax?