New California laws pertaining to e-bikes as of January 1, 2023:

Bicycles Omnibus Bill (AB 1909, Friedman)
Providing increased protections for bicyclists, this law requires vehicles passing or overtaking a bike in the same direction to move over to an adjacent lane of traffic, if available, or slow down and pass only when it is safe to do so.
The law also permits Class 3 e-bike riders to use approved bicycle paths and trails, bike-ways, and bicycle lanes. It also prohibits local governments from requiring bicycle registration and allows local authorities to prohibit any electric bicycle on an equestrian, hiking or other recreational trail.
Electric Bicycles: Safety and Training Program (AB 1946, Boerner Horvath)
This requires the CHP to work with other traffic safety stakeholders such as the California Office of Traffic Safety, to develop statewide safety and training programs for electric bicycles. Set to launch on the CHP’s website in September 2023, this training program will consist of electric bicycle riding safety, emergency maneuver skills, rules of the road and laws pertaining to electric bicycles.