Anything done on the employee's own time, using their own equipment, and not relying on IP owned by the company is owned by the employee, and non-competes do not apply. There's a standard form outlining this attached to every CA employment agreement.