Do I need to file CA taxes if I permanently moved to Texas in March 2024 ?

Hi , 

 

I was living in California till March 2024, after that moved permanently to Texas [ my voter Id is in Texas address, car is registered in Texas]. I rented my home in California from  May 2024. 

 

I understand I need to file CA taxes for rental property but other than that do I need to pay taxes for the time I lived in California ?

My pay slip showing ~3000 USD detected as CA taxes till March 2024, will I get refund of that? 

 

Thanks