HP switches with their lifetime warranties are indeed hard to beat.
However the sexiness of the Unifi controller and one pane of glass to manage my entire network means from now on I’ll probably be deploying Unifi switches. There’s a few things missing in Unifi vs. EdgeSwitch - but the hardware is the same; it’s just a matter of them catching up on the firmware on the Unifi versions of their switches. If you need LLDP, advanced QOS or layer 3 routing stick wtih HP for now; Unifi doesn’t have it and while the EdgeSwitches do I’d still probably stick with the HP switches (that warranty is killer).
The vision that Ubiquiti has for Unifi - one management interface for APs, switches and routers/gateways is promising but may or may not be fully baked depending on what you need just yet.