State tax filing

I tried 'non resident' state income? but it is not giving me any option. Does the state tax is determine by my address I have on W2 (which shows CA) as I never changed my califoria address in payroll.   In last Jun21 to Dec21, I travelled to Seattle and worked from there too. Even though I have not moved my residence  as I lived with my friend (around 2.5 months). So, should I mention for this as well and get some credit as in my state tax as in Wasington tax is 0% and in CA it is around 9-10%?? I know it bit complicated but any input is welcome.   Thanks in advance.