Once a fortnight: wipe the chain, check for stretch with a gauge, and re-lube with a dry lube for summer or a wet lube for winter.

E-bike drivetrains wear faster than acoustic bikes because the motor hides chain stress - catch the stretch early and the cassette survives twice as long.