Which state do we pay taxes to

We live in TN and my husband just got a job in CA in July 2021. He works remotely, but is there in CA one week a month. Which state will we pay taxes in?