Updated with help from AdaFruit/KegoMatic