Living and working in Nevada(WFH) but company is in California?

I recently moved from California to Nevada in June. I literally spent 160 days in California in 2022, so not even half the year. But now I need to do my taxes and California is stating I OWE them money, eventhough my employer has been taking taxes out of my paycheck the full year so I should get money back since nevada has 0% state tax. I went to Jackson Hewitt and they are stumped. I can't file a Nevada state return since there are no state taxes. So every year do I have to file a california return as if I lived there eventhough I didn't? I also am not technically working in California since I work from home and have not set foot in California since. Please help!