code: public ChargeMode getChargeModeFromEvses(Set<Evse> evses) {
          ChargeMode chargeMode = ChargeMode.UNSPECIFIED;
          for (Evse evse : evses) {
              if (!evse.getConnectors().isEmpty()) {
                  chargeMode = ChargeMode.fromChargingProtocol(evse.getConnectors().get(0).getChargingProtocol());
                  break;
              }
          }
          return chargeMode;
      }
docs: Determines the charge mode based on the first connector, because VAS does not support multiple protocols for a
  single charging station. If no charge mode can be determined UNSPECIFIED will be returned.
  
  @param evses list of EVSEs.
  @return charge mode or UNSPECIFIED if no specific charge mode can be determined.