UPS that will shut down hub

You might be interested in this thread: USB-C UPS designed by the community for Hubitat