I don’t know enough to completely answer your question but I do want to point out that you should be careful with NY’s telework tax situation. If you as a resident of CA and non resident of NY do any work on NY payroll and you put your address of residency as CA you could end up in a position where you’re double taxed paying NY state tax and CA state tax with no credit available for CA given that CA doesn’t have a similar telework state tax.
It would be best to consult with a tax advisor in the north east to get a complete answer.