This simple UPS setup makes your smart home unbreakable