Keep in mind that Shimano are starting to not honour any warranty claims if any third party software has been connected, even if you've only used it to check settings and not make any tuning adjustments, which is obviously really unfortunate as fine tuning with stunlocker was one of the most attractive features of going for the Shimano.
The Bosch also seems to be quite a bit more efficient in the range it delivers for the same battery capacity for most people.
The Bosch can also be repaired and serviced, the Shimano's can't - well, not easily anyway.