docs: private static int snapOnly30s(int degrees, int forceHigherOrLower) {
          int stepSize = HOUR_VALUE_TO_DEGREES_STEP_SIZE;
          int floor = (degrees / stepSize) * stepSize;
          int ceiling = floor + stepSize;
          if (forceHigherOrLower == 1) {
              degrees = ceiling;
          } else if (forceHigherOrLower == -1) {
              if (degrees == floor) {
                  floor -= stepSize;
              }
              degrees = floor;
          } else {
              if ((degrees - floor) < (ceiling - degrees)) {
                  degrees = floor;
              } else {
                  degrees = ceiling;
              }
          }
          return degrees;
      }