NY or PA

A significant portion of my income comes in the form of a bonus and is payable in the first quarter of the year.  I bought a house and moved from NYC to PA in April of 2020.  My work location was recorded as NYC throughout 2020 and still is although I have been working from home in PA since last April. Since there are multiple methodologies permitted for allocating income between states it seems like I should choose the one that shifts the maximum allowable income to PA?  Am I thinking of that correctly or does it not matter since I will be taxed by NY since I "work there" and have to use that as a credit for PA?