Edit: I just looked at that page again, and that bike is size 40cm. I am 5'9" and mine is a 45cm and feels about right, I could go slightly smaller, but 40cm would be a no go for me. Maybe that small of a frame works for you, but it is never a good idea to buy a bike because it is a good deal, it it doesn't fit you properly.
I have a 2017 Haibike Xduro HardSeven 6.0, and also a 2016 Haibike Xduro HardNine 5.0.
The good:
1) Haibikes frames are really awesome. They aren't just some crappy aluminum tubes TIG welded together, they are very deeply engineered hydroformed tubes, and the geometry, the battery cradle, the motor attachment, the dropouts, ect. are all 100% top notch. Very high quality.
2) Both of my Haibikes have Bosch motors, but I've ridden the Yamahas and they really are great. I can't comment on the gearing other than to say both of mine do not have low enough gears. My low gear is essentially the same as 45x42 because of the Bosch 2.5:1 gear multiplication on the crank side. Yours would have 32x36 low which would probably be OK, depending on where you ride and how strong you are. The drivetrain on that bike is top notch.
3) Haibike uses house brand saddles, seatpost, stems and handlebars, and they are perfectly OK. The seatpost is a good design, and the saddle is really, really comfortable. With that said, I put a Thudbuster seatpost on the 29'er to soak up some hits, and I am considering it even on the 27x3.0 HardSeven. The Haibike frame is *extremely* stiff, and it pounds your backside like no other hardtail I've ever ridden. If I could find a quality dropper post with thudbuster type suspension, I'd love it.
4) I believe my HardSeven has the exact same wheels and tires that one has. They are a little heavy, but bombproof. The hubs have very smooth, sealed cartridge bearings and are really nice. My wheels came with Tubeless-ready rimstrips installed already, the rims and tires are tubeless ready, and removing the tubes made a huge difference in the ride. 27.5x3.0 tubes weigh about a pound each! Going tubeless drops two pounds of weight where it really counts, and you can run 16-18 psi off road, which provides great traction. I converted to tubeless in a grand total of about 20 minutes! The best thing you can do. Do it immediately!
The bad:
1) No water bottle cages at all. This kind of sucks.
2) I have the same Magura 4.0 brakes on my HardSeven. I do not like them. Power is not lacking, but they feel "dead", chatter when they get warm, and rattle like mad. I believe the pads are actually rattling in their holders. I have some XT brakes in the box ready to put on when the pads on the Maguras are finished. The specs on your link say the bike has 180mm rotors on both ends, but mine has a 203mm on the front and that photo sure looks like a 203mm on the front of that one. Good move by Haibike.
3) My HardNine has the 29er version of that same SunTour fork. It is just OK. Small bump compliance is not great, pretty harsh travel, and quite frankly, the stanchions are pretty small for hard use off road, it would be especially true with the 3.0" tires. The lockout is handy though. My HardSeven came with a RockShox Yari, which I love to death. It is too bad they didn't put the Yari on the version you are looking at.
Bottom line: That bike is a great deal for $2350 Canadian. I've ridden both of my Haibike hardtails on tough trails all over Colorado and out in Moab, and I love them both. Just be aware that they are really stiff, and you are going to feel every bump in the rear, especially if you are used to riding full suspension. The cool thing about the Haibike hardtails is that they have rack and fender mounts, so they also make great commuters. My 29'er is my commuter of choice these days.
I say go for it. Even if you didn't like it for some reason, the resale on quality ebikes is pretty good. Look at it this way, how much would you have to pay for a quality 27.5x3.0 hardtail MTB that is not an eBike? Probably $1500-1800? A Yamaha battery is $600 US by itself, and the motor is $900 US. At the price you would pay, your downside is not that big.