Just adding some links for reference.. in both California and New York, employers explicitly can NOT enforce IP assignment of work done on an employees own time and with their own equipment. (As long as the work is not related to the employers buisness). In other words such clauses in employment agreements in those states would be unenforceable.
https://www.ebglaw.com/insights/publications/new-york-restri...
https://law.justia.com/codes/california/code-lab/division-3/...