It rains in Seattle.
Oil all exposed metal (steel) monthly with non-detergent thin oil, as 5W ATF type F or A (not dexron compatible) or generic tractor hydraulic fluid SUS 32, (not the kind approved by Deere, Case, New Holland etc.)
Chain, cable ends, derailleur pivots, takeup gear pivots, controls, seat stem & bolts, steering stem & bolts, non-stainless fasteners. I use a pump oiler.
Charge discharge battery not below 10% and not above 90% most of the time except every 3 months fully charge until charger cuts off. (Some chargers have a 80% and 90% setting besides 100%, others you have to measure the voltage yourself). Voltage tables are on the lunabikes website; click an appropriate voltage battery and they will have the table in the faq.
Make sure bumps on tire are thicker than 1/8" unless you are riding puncture proof tires. I use regular Kenda knobbies, but we don't have goat thorns here. Change tube & tire every 5 years if no flats.
Rain protection of display & battery updated, I'm no expert here because I don't own a trek. My battery is rain & splashproof. I quit using the controller that had a display, it was fogging up from the rain.
Every 2 or 3 months check every fastener on the bike & retighten if it is loose. Do this right after you buy it. I use double nuts on axles (including the motor axle).
Yearly turn bike upside down & scrape dirt caked by the oil from the sprocket cluster & the drive sprockets. I use a 3/16" screwdriver. Also the takeup sprockets. Oil the crank through the drip hole in the bottom of the housing and let it sit all day. Take the pedals off, prop with the bearings pointed up, and oil. "Permanently lubricated" is about a year and a half in my experience. Note right pedal screws off backwards. You could alternately tip the bike over on its side & drip the oil in the bottom pedal, letting it sit 4 hours or so.
Every 2 or 3 years back the cages away from any non-motor axles, clean the balls & races and relubricate with petroleum jelly or API grade 1 (not 2) grease.
Mid drives require the chain stretch be checked every month or two, chain usually has to be changed at ~3000 miles for 3/32" chain (6 7 8 speed) and more often for thinner chain (10 11 speed). This requires a park tool.