State tax filing

Understood. I was NOT a CA resident at the time of the sale of the WA property, but I was a CA resident for the first half of the year (approximately). So, do I have to pay any CA tax on the capital gains from that sale?