>>36832251Yeah, it's nice to think of Equestria as a strictly fantasy world with airships and knights and such, but frankly there's no way to hand-wave away the eclectic, inconsistent level of tech on display in the show.
It varied wildly and often changed to suit the needs of an episode's plot, so when discussing show canon it's best not to focus on the established 'tech level'.
All Lauren said in her bible in regards to the world was that it was a world 'built by ponies for ponies and everything should reflect that'. So there was nothing explicitly stating that there couldn't be electrical tech, especially since Twilight had a basement full of bizarre technology in her basement during Feeling Pinkie Keen.