Switzerland basically says what you do in your own time is yours.
California does not, and does not say what most engineers think it does.
It says companies can own inventions that:
(1) Relate at the time of conception or reduction to practice of
the invention to the employer's business, or actual or demonstrably
anticipated research or development of the employer; or
(2) Result from any work performed by the employee for the
employer.
#1 is read fairly broadly.
Most think it just says #2.